我正在尝试在我的 Ubuntu 13.04 系统上安装 Postgres。为此,我运行了以下命令...
$ sudo apt-get update
$ sudo apt-get install postgresql-common -t raring
两者都很顺利。然后我尝试通过运行安装客户端...
$ sudo apt-get install postgresql-9.2
这导致以下错误消息...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package postgresql-9.2 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-9.2' has no installation candidate
9.2 将被“淘汰”的想法对我来说似乎很奇怪,因为当我去 Postgres 站点并查看 Ubuntu安装页面时,我被告知运行命令......
apt-get install postgresql-9.2