Re: how to downgrade Postgres in Ubuntu - Mailing list pgsql-admin

From David Osborne
Subject Re: how to downgrade Postgres in Ubuntu
Date
Msg-id CAKmpXCfcrNsmMWgS+hKo1GVdTn1J6ur+_kV5Ados45o=-hkE6Q@mail.gmail.com
Whole thread Raw
In response to Re: how to downgrade Postgres in Ubuntu  (Suya Huang <shuang@connexity.com>)
Responses Re: how to downgrade Postgres in Ubuntu  (Markus Wanner <markus@bluegap.ch>)
Re: how to downgrade Postgres in Ubuntu  (Suya Huang <shuang@connexity.com>)
List pgsql-admin

You can sometimes do "apt-get install postgresql-9.3=9.3.4-1"

But often the OS cannot work out where to get hold of the requested version.

Alternatively you can check in /var/cache/apt/archives.
If the .deb file for the downlevel version is still there (copy it out so it's not cleaned up in future), and you can do "dpkg -i postgres-9.3_9.3.4-1.deb"

Failing that, you can download the downlevel deb file from somewhere.


On 2 June 2016 at 10:45, Suya Huang <shuang@connexity.com> wrote:
Thanks JD for the response. My question is more specific on how to reinstall old binary using apt-get install.

Thanks,
Suya



pgsql-admin by date:

Previous
From: Suya Huang
Date:
Subject: Re: how to downgrade Postgres in Ubuntu
Next
From: Markus Wanner
Date:
Subject: Re: how to downgrade Postgres in Ubuntu