Re: how to downgrade Postgres in Ubuntu

From: Markus Wanner <markus(at)bluegap(dot)ch>
To: David Osborne <david(at)qcode(dot)co(dot)uk>, Suya Huang <shuang(at)connexity(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: how to downgrade Postgres in Ubuntu
Date: 2016-06-02 12:38:13
Message-ID: 575028B5.6070407@bluegap.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 06/02/2016 12:46 PM, David Osborne wrote:
> 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.
> (perhaps here? https://launchpad.net/ubuntu/+source/postgresql-9.3 )

On Debian we have snapshots (http://snapshot.debian.org/) not sure if
Ubuntu provides a similar service, but the Postgres packages are similar
enough that you could try that as a last resort.

Regards

Markus

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ferrell, Denise D CTR NSWCDD, H11 2016-06-02 13:12:18 ERROR - postgresql-9.3 dead but pid file exists
Previous Message David Osborne 2016-06-02 10:46:43 Re: how to downgrade Postgres in Ubuntu