Re: how to downgrade Postgres in Ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

Thanks,
Suya




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux