How do I install a point release of Postgres 10, like Postgres 10.2?

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








up vote
2
down vote

favorite












It appears to be easy to install the latest point release of Postgres 10, which, at the time of writing appears to be Postgres 10.3. However, I want to install Postgres 10.2, which I cannot seem to figure out how to do.



I'm on Ubuntu Trusty (14.04) and am following these instructions: https://www.postgresql.org/download/linux/ubuntu/



I've added this repository: deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
I've imported the signing key:



wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | 
sudo apt-key add -
sudo apt-get update


Then I can install Postgres 10 like so:



sudo apt-get install postgresql-10


which fetches version 10.3:



Get:1 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql-10 amd64 10.3-1.pgdg14.04+1 [4,793 kB]


However, to install an old version, I thought it would just be a matter of specifying the version of the package:



sudo apt-get install postgresql-10=10.2-1.pgdg14.04+1


But I just get an error:



Version '10.2-1.pgdg14.04+1' for 'postgresql-10' was not found


So that version doesn't appear to be published. And you can't specify a different package like you could back with 9.x. To install various versions of PG 9.x, you can just do:



sudo apt-get install postgresql-9.4
sudo apt-get install postgresql-9.6


But you can'd do that with 10.x:



sudo apt-get install postgresql-10.2
E: Unable to locate package postgresql-10.2
E: Couldn't find any package by regex 'postgresql-10.2'


I must be missing something simple.










share|improve this question





















  • If their repository doesn't keep it, you might want to try some other repository
    – muru
    Mar 8 at 22:39










  • Thanks @muru. Do you know how I go about finding other said repository for archives like that?
    – Taytay
    Mar 9 at 17:42














up vote
2
down vote

favorite












It appears to be easy to install the latest point release of Postgres 10, which, at the time of writing appears to be Postgres 10.3. However, I want to install Postgres 10.2, which I cannot seem to figure out how to do.



I'm on Ubuntu Trusty (14.04) and am following these instructions: https://www.postgresql.org/download/linux/ubuntu/



I've added this repository: deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
I've imported the signing key:



wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | 
sudo apt-key add -
sudo apt-get update


Then I can install Postgres 10 like so:



sudo apt-get install postgresql-10


which fetches version 10.3:



Get:1 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql-10 amd64 10.3-1.pgdg14.04+1 [4,793 kB]


However, to install an old version, I thought it would just be a matter of specifying the version of the package:



sudo apt-get install postgresql-10=10.2-1.pgdg14.04+1


But I just get an error:



Version '10.2-1.pgdg14.04+1' for 'postgresql-10' was not found


So that version doesn't appear to be published. And you can't specify a different package like you could back with 9.x. To install various versions of PG 9.x, you can just do:



sudo apt-get install postgresql-9.4
sudo apt-get install postgresql-9.6


But you can'd do that with 10.x:



sudo apt-get install postgresql-10.2
E: Unable to locate package postgresql-10.2
E: Couldn't find any package by regex 'postgresql-10.2'


I must be missing something simple.










share|improve this question





















  • If their repository doesn't keep it, you might want to try some other repository
    – muru
    Mar 8 at 22:39










  • Thanks @muru. Do you know how I go about finding other said repository for archives like that?
    – Taytay
    Mar 9 at 17:42












up vote
2
down vote

favorite









up vote
2
down vote

favorite











It appears to be easy to install the latest point release of Postgres 10, which, at the time of writing appears to be Postgres 10.3. However, I want to install Postgres 10.2, which I cannot seem to figure out how to do.



I'm on Ubuntu Trusty (14.04) and am following these instructions: https://www.postgresql.org/download/linux/ubuntu/



I've added this repository: deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
I've imported the signing key:



wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | 
sudo apt-key add -
sudo apt-get update


Then I can install Postgres 10 like so:



sudo apt-get install postgresql-10


which fetches version 10.3:



Get:1 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql-10 amd64 10.3-1.pgdg14.04+1 [4,793 kB]


However, to install an old version, I thought it would just be a matter of specifying the version of the package:



sudo apt-get install postgresql-10=10.2-1.pgdg14.04+1


But I just get an error:



Version '10.2-1.pgdg14.04+1' for 'postgresql-10' was not found


So that version doesn't appear to be published. And you can't specify a different package like you could back with 9.x. To install various versions of PG 9.x, you can just do:



sudo apt-get install postgresql-9.4
sudo apt-get install postgresql-9.6


But you can'd do that with 10.x:



sudo apt-get install postgresql-10.2
E: Unable to locate package postgresql-10.2
E: Couldn't find any package by regex 'postgresql-10.2'


I must be missing something simple.










share|improve this question













It appears to be easy to install the latest point release of Postgres 10, which, at the time of writing appears to be Postgres 10.3. However, I want to install Postgres 10.2, which I cannot seem to figure out how to do.



I'm on Ubuntu Trusty (14.04) and am following these instructions: https://www.postgresql.org/download/linux/ubuntu/



I've added this repository: deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
I've imported the signing key:



wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | 
sudo apt-key add -
sudo apt-get update


Then I can install Postgres 10 like so:



sudo apt-get install postgresql-10


which fetches version 10.3:



Get:1 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main postgresql-10 amd64 10.3-1.pgdg14.04+1 [4,793 kB]


However, to install an old version, I thought it would just be a matter of specifying the version of the package:



sudo apt-get install postgresql-10=10.2-1.pgdg14.04+1


But I just get an error:



Version '10.2-1.pgdg14.04+1' for 'postgresql-10' was not found


So that version doesn't appear to be published. And you can't specify a different package like you could back with 9.x. To install various versions of PG 9.x, you can just do:



sudo apt-get install postgresql-9.4
sudo apt-get install postgresql-9.6


But you can'd do that with 10.x:



sudo apt-get install postgresql-10.2
E: Unable to locate package postgresql-10.2
E: Couldn't find any package by regex 'postgresql-10.2'


I must be missing something simple.







14.04 apt package-management postgresql






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 at 22:00









Taytay

33627




33627











  • If their repository doesn't keep it, you might want to try some other repository
    – muru
    Mar 8 at 22:39










  • Thanks @muru. Do you know how I go about finding other said repository for archives like that?
    – Taytay
    Mar 9 at 17:42
















  • If their repository doesn't keep it, you might want to try some other repository
    – muru
    Mar 8 at 22:39










  • Thanks @muru. Do you know how I go about finding other said repository for archives like that?
    – Taytay
    Mar 9 at 17:42















If their repository doesn't keep it, you might want to try some other repository
– muru
Mar 8 at 22:39




If their repository doesn't keep it, you might want to try some other repository
– muru
Mar 8 at 22:39












Thanks @muru. Do you know how I go about finding other said repository for archives like that?
– Taytay
Mar 9 at 17:42




Thanks @muru. Do you know how I go about finding other said repository for archives like that?
– Taytay
Mar 9 at 17:42










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Starting from version 10, PostgreSQL has changed its versioning scheme as explained in https://www.postgresql.org/support/versioning/




Beginning with version 10, a major release is indicated by increasing
the first part of the version, e.g. 10 to 11. Before version 10, a
major release was indicated by increasing either the first or second
part of the version number, e.g. 9.5 to 9.6.




This is why there is a postgresql-9.6 package, but no postgresql-10.2 package: it's postgresql-10. The versions 10.0 through 10.2 contain bugs that have been fixed in 10.3 so there is no compelling reason for APT repositories to keep them around.






share|improve this answer




















  • Thanks. That does explain why Postgres doesn't archive those versions. However, we need access to legacy versions, at least temporarily, because we want to use the exact same version of Postgres that our provider does. As soon as our provider upgrades, we can upgrade our dev environment, but before that, we'll need to install an older version.
    – Taytay
    Mar 12 at 18:32










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%2f1013243%2fhow-do-i-install-a-point-release-of-postgres-10-like-postgres-10-2%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
0
down vote













Starting from version 10, PostgreSQL has changed its versioning scheme as explained in https://www.postgresql.org/support/versioning/




Beginning with version 10, a major release is indicated by increasing
the first part of the version, e.g. 10 to 11. Before version 10, a
major release was indicated by increasing either the first or second
part of the version number, e.g. 9.5 to 9.6.




This is why there is a postgresql-9.6 package, but no postgresql-10.2 package: it's postgresql-10. The versions 10.0 through 10.2 contain bugs that have been fixed in 10.3 so there is no compelling reason for APT repositories to keep them around.






share|improve this answer




















  • Thanks. That does explain why Postgres doesn't archive those versions. However, we need access to legacy versions, at least temporarily, because we want to use the exact same version of Postgres that our provider does. As soon as our provider upgrades, we can upgrade our dev environment, but before that, we'll need to install an older version.
    – Taytay
    Mar 12 at 18:32














up vote
0
down vote













Starting from version 10, PostgreSQL has changed its versioning scheme as explained in https://www.postgresql.org/support/versioning/




Beginning with version 10, a major release is indicated by increasing
the first part of the version, e.g. 10 to 11. Before version 10, a
major release was indicated by increasing either the first or second
part of the version number, e.g. 9.5 to 9.6.




This is why there is a postgresql-9.6 package, but no postgresql-10.2 package: it's postgresql-10. The versions 10.0 through 10.2 contain bugs that have been fixed in 10.3 so there is no compelling reason for APT repositories to keep them around.






share|improve this answer




















  • Thanks. That does explain why Postgres doesn't archive those versions. However, we need access to legacy versions, at least temporarily, because we want to use the exact same version of Postgres that our provider does. As soon as our provider upgrades, we can upgrade our dev environment, but before that, we'll need to install an older version.
    – Taytay
    Mar 12 at 18:32












up vote
0
down vote










up vote
0
down vote









Starting from version 10, PostgreSQL has changed its versioning scheme as explained in https://www.postgresql.org/support/versioning/




Beginning with version 10, a major release is indicated by increasing
the first part of the version, e.g. 10 to 11. Before version 10, a
major release was indicated by increasing either the first or second
part of the version number, e.g. 9.5 to 9.6.




This is why there is a postgresql-9.6 package, but no postgresql-10.2 package: it's postgresql-10. The versions 10.0 through 10.2 contain bugs that have been fixed in 10.3 so there is no compelling reason for APT repositories to keep them around.






share|improve this answer












Starting from version 10, PostgreSQL has changed its versioning scheme as explained in https://www.postgresql.org/support/versioning/




Beginning with version 10, a major release is indicated by increasing
the first part of the version, e.g. 10 to 11. Before version 10, a
major release was indicated by increasing either the first or second
part of the version number, e.g. 9.5 to 9.6.




This is why there is a postgresql-9.6 package, but no postgresql-10.2 package: it's postgresql-10. The versions 10.0 through 10.2 contain bugs that have been fixed in 10.3 so there is no compelling reason for APT repositories to keep them around.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 10 at 16:07









Daniel Vérité

45328




45328











  • Thanks. That does explain why Postgres doesn't archive those versions. However, we need access to legacy versions, at least temporarily, because we want to use the exact same version of Postgres that our provider does. As soon as our provider upgrades, we can upgrade our dev environment, but before that, we'll need to install an older version.
    – Taytay
    Mar 12 at 18:32
















  • Thanks. That does explain why Postgres doesn't archive those versions. However, we need access to legacy versions, at least temporarily, because we want to use the exact same version of Postgres that our provider does. As soon as our provider upgrades, we can upgrade our dev environment, but before that, we'll need to install an older version.
    – Taytay
    Mar 12 at 18:32















Thanks. That does explain why Postgres doesn't archive those versions. However, we need access to legacy versions, at least temporarily, because we want to use the exact same version of Postgres that our provider does. As soon as our provider upgrades, we can upgrade our dev environment, but before that, we'll need to install an older version.
– Taytay
Mar 12 at 18:32




Thanks. That does explain why Postgres doesn't archive those versions. However, we need access to legacy versions, at least temporarily, because we want to use the exact same version of Postgres that our provider does. As soon as our provider upgrades, we can upgrade our dev environment, but before that, we'll need to install an older version.
– Taytay
Mar 12 at 18:32

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013243%2fhow-do-i-install-a-point-release-of-postgres-10-like-postgres-10-2%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