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
Postgres サイトにアクセスして Ubuntuインストール ページを確認すると、コマンドを実行するように指示されます。
apt-get install postgresql-9.2