亲爱的,
我的系统有以下分布细节
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 5.0 (lenny)
Release: 5.0
Codename: lenny
我需要在这台机器上安装 postgres 9.0,但是我找不到 postgres 9.0 的任何稳定的 lenny 包,有没有其他方法可以做到这一点
任何建议,将不胜感激!
感谢 new debian backports suite , 下面是在 Debian lenny 上安装 PostgreSQL 9.0 的方法:
将以下内容添加到/etc/apt/sources.list:
deb http://backports.debian.org/debian-backports lenny-backports main
deb http://backports.debian.org/debian-backports lenny-backports-sloppy main
然后运行这两个命令
apt-get install -t lenny-backports postgresql-common
apt-get install -t lenny-backports-sloppy postgresql-9.0 postgresql-client-9.0 postgresql-contrib-9.0
请注意,这利用了新的 lenny-backports-sloppy backport 套件 - 请 read the announcement以便了解使用该套件的利弊。