如何安装 postgresql-8.3?

如何安装 postgresql-8.3?

我明白了

> sudo apt-get install postgresql-8.3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package postgresql-8.3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'postgresql-8.3' has no installation candidate

我需要 v8.3 来匹配我的生产服务器 (Heroku)。谢谢!

答案1

打包 postgressql 8.3 的最后一个 ubuntu 版本是 Hardy Heron 8.04 LTS。如果您有兴趣使用它,该版本在服务器上将支持到 2013 年 4 月。除此之外,您可以从此处安装 debs:

http://packages.ubuntu.com/hardy-updates/postgresql-8.3

您还需要获取依赖项并按顺序手动安装它们。您将不会获得任何安全更新,并且它可能会完全无法工作 :-( 将 hardy repo 添加到您的 sources.list 的替代方法是可行的,但不适合胆小的人。我强烈建议尽可能升级,或者如果稳定性和不变的软件包很重要,则运行 LTS。

相关内容