我如何安装 postgresql-8.3?

mon*_*ike 8 postgresql

我得到

> 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
Run Code Online (Sandbox Code Playgroud)

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

bal*_*ons 3

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

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

您还需要获取依赖项并按顺序手动安装它们。您将不会获得任何安全更新,并且可能会完全无法工作:-( 将 Hardy 存储库添加到您的sources.list 中的替代方案是可能的,但不是出于假装的心。我强烈建议升级(如果有的话)可能,或者如果稳定性和不变的软件包很重要,则运行 LTS。