How to install postgresl 9.6.8 or 10.3 to Ubuntu 17.10 Artful Aardvark?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












There is this postgres security patch which was deployed at heroku and now I can't install postgres dumps from heroku to my local machine. Because this masterminds able to produce only archived dumps not plain sql.
Ubuntu 17.10 is not supported by postgres and aptitude failed to install 10.3 version from Xenial repos.



Getting "unsupported version (1.13) in file header" when running pg_restore | Stack Overflow










share|improve this question























  • I believe the postgresql package in the official 17.10 repositories installs 9.6.8. Have you tried sudo apt install postgresql?
    – fkraiem
    Mar 23 at 12:53














up vote
0
down vote

favorite












There is this postgres security patch which was deployed at heroku and now I can't install postgres dumps from heroku to my local machine. Because this masterminds able to produce only archived dumps not plain sql.
Ubuntu 17.10 is not supported by postgres and aptitude failed to install 10.3 version from Xenial repos.



Getting "unsupported version (1.13) in file header" when running pg_restore | Stack Overflow










share|improve this question























  • I believe the postgresql package in the official 17.10 repositories installs 9.6.8. Have you tried sudo apt install postgresql?
    – fkraiem
    Mar 23 at 12:53












up vote
0
down vote

favorite









up vote
0
down vote

favorite











There is this postgres security patch which was deployed at heroku and now I can't install postgres dumps from heroku to my local machine. Because this masterminds able to produce only archived dumps not plain sql.
Ubuntu 17.10 is not supported by postgres and aptitude failed to install 10.3 version from Xenial repos.



Getting "unsupported version (1.13) in file header" when running pg_restore | Stack Overflow










share|improve this question















There is this postgres security patch which was deployed at heroku and now I can't install postgres dumps from heroku to my local machine. Because this masterminds able to produce only archived dumps not plain sql.
Ubuntu 17.10 is not supported by postgres and aptitude failed to install 10.3 version from Xenial repos.



Getting "unsupported version (1.13) in file header" when running pg_restore | Stack Overflow







apt repository postgresql






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 23 at 12:42









Drakonoved

7421515




7421515










asked Mar 22 at 21:58









scythargon

1065




1065











  • I believe the postgresql package in the official 17.10 repositories installs 9.6.8. Have you tried sudo apt install postgresql?
    – fkraiem
    Mar 23 at 12:53
















  • I believe the postgresql package in the official 17.10 repositories installs 9.6.8. Have you tried sudo apt install postgresql?
    – fkraiem
    Mar 23 at 12:53















I believe the postgresql package in the official 17.10 repositories installs 9.6.8. Have you tried sudo apt install postgresql?
– fkraiem
Mar 23 at 12:53




I believe the postgresql package in the official 17.10 repositories installs 9.6.8. Have you tried sudo apt install postgresql?
– fkraiem
Mar 23 at 12:53










1 Answer
1






active

oldest

votes

















up vote
1
down vote













I was able to upgrade from 10.1 to 10.3 by changing to the xenial repository at https://www.postgresql.org/download/linux/ubuntu/.






share|improve this answer




















  • That worked to upgrade all the client programs (pg_dump, pg_restore, psql), but it does not allow the server to be upgraded. To do that, you have to add "deb security.ubuntu.com/ubuntu xenial-security main" to /etc/apt/sources.list.d/pgdg.list". (The libicu55 package is required for PG 10.3 server, and it is not available on Artful.) Once you add this, do an "sudo apt update" and the package will be upgradable.
    – Chris Curvey
    Apr 24 at 13:59











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1018376%2fhow-to-install-postgresl-9-6-8-or-10-3-to-ubuntu-17-10-artful-aardvark%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













I was able to upgrade from 10.1 to 10.3 by changing to the xenial repository at https://www.postgresql.org/download/linux/ubuntu/.






share|improve this answer




















  • That worked to upgrade all the client programs (pg_dump, pg_restore, psql), but it does not allow the server to be upgraded. To do that, you have to add "deb security.ubuntu.com/ubuntu xenial-security main" to /etc/apt/sources.list.d/pgdg.list". (The libicu55 package is required for PG 10.3 server, and it is not available on Artful.) Once you add this, do an "sudo apt update" and the package will be upgradable.
    – Chris Curvey
    Apr 24 at 13:59















up vote
1
down vote













I was able to upgrade from 10.1 to 10.3 by changing to the xenial repository at https://www.postgresql.org/download/linux/ubuntu/.






share|improve this answer




















  • That worked to upgrade all the client programs (pg_dump, pg_restore, psql), but it does not allow the server to be upgraded. To do that, you have to add "deb security.ubuntu.com/ubuntu xenial-security main" to /etc/apt/sources.list.d/pgdg.list". (The libicu55 package is required for PG 10.3 server, and it is not available on Artful.) Once you add this, do an "sudo apt update" and the package will be upgradable.
    – Chris Curvey
    Apr 24 at 13:59













up vote
1
down vote










up vote
1
down vote









I was able to upgrade from 10.1 to 10.3 by changing to the xenial repository at https://www.postgresql.org/download/linux/ubuntu/.






share|improve this answer












I was able to upgrade from 10.1 to 10.3 by changing to the xenial repository at https://www.postgresql.org/download/linux/ubuntu/.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 10 at 7:52









Haakon

328136




328136











  • That worked to upgrade all the client programs (pg_dump, pg_restore, psql), but it does not allow the server to be upgraded. To do that, you have to add "deb security.ubuntu.com/ubuntu xenial-security main" to /etc/apt/sources.list.d/pgdg.list". (The libicu55 package is required for PG 10.3 server, and it is not available on Artful.) Once you add this, do an "sudo apt update" and the package will be upgradable.
    – Chris Curvey
    Apr 24 at 13:59

















  • That worked to upgrade all the client programs (pg_dump, pg_restore, psql), but it does not allow the server to be upgraded. To do that, you have to add "deb security.ubuntu.com/ubuntu xenial-security main" to /etc/apt/sources.list.d/pgdg.list". (The libicu55 package is required for PG 10.3 server, and it is not available on Artful.) Once you add this, do an "sudo apt update" and the package will be upgradable.
    – Chris Curvey
    Apr 24 at 13:59
















That worked to upgrade all the client programs (pg_dump, pg_restore, psql), but it does not allow the server to be upgraded. To do that, you have to add "deb security.ubuntu.com/ubuntu xenial-security main" to /etc/apt/sources.list.d/pgdg.list". (The libicu55 package is required for PG 10.3 server, and it is not available on Artful.) Once you add this, do an "sudo apt update" and the package will be upgradable.
– Chris Curvey
Apr 24 at 13:59





That worked to upgrade all the client programs (pg_dump, pg_restore, psql), but it does not allow the server to be upgraded. To do that, you have to add "deb security.ubuntu.com/ubuntu xenial-security main" to /etc/apt/sources.list.d/pgdg.list". (The libicu55 package is required for PG 10.3 server, and it is not available on Artful.) Once you add this, do an "sudo apt update" and the package will be upgradable.
– Chris Curvey
Apr 24 at 13:59


















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1018376%2fhow-to-install-postgresl-9-6-8-or-10-3-to-ubuntu-17-10-artful-aardvark%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491