postgresql - 在 debian lenny 中安装 postgres 9.0

标签 postgresql debian

<分区>

亲爱的,
我的系统有以下分布细节

$ 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以便了解使用该套件的利弊。

关于postgresql - 在 debian lenny 中安装 postgres 9.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4290911/

相关文章:

c++ - 错误 : Failed to build PhantomJS! 构建 Qt 基础失败

oracle - 如何设置从 Linux RedHat 64 位上的 Oracle 10gR2 到 Linux RedHat 64 位上的 Postgresql 8.3 的 dblink?

c# - Npgsql C# 多行/值插入

sql - 无法将类型记录转换为整数

linux - @INC XFileSharing 2.5 中的 Perl 错误 : Can't locate XFileConfig. pm

c - 驱动程序编程简介

postgresql - 在 scala 框架中支持 PostgreSQL 特定的 array_agg 函数?

postgresql - 使用命令行参数运行 PostgreSQL .sql 文件

python - 覆盖或禁用 ${python :Depends} at stdeb bdist_deb invocation

docker - 如何增加卷 var/lib/docker/overlay2 的大小或安装到 Debian VM 中的新虚拟磁盘