I am trying to install Postgres on my Ubuntu 13.04 system. In order to do so, I ran the following commands...
$ sudo apt-get update
$ sudo apt-get install postgresql-common -t raring
Both of which went fine. Then I tried to install the client by running...
$ sudo apt-get install postgresql-9.2
Which resulted in the following error message...
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
The notion that 9.2 would be "obsoleted" seems very strange to me, as when I go to the Postgres site and check out the Ubuntu installation page, I am told to run the command...
apt-get install postgresql-9.2
postgresql-9.2package for Ubuntu 13.04. Please search packages.ubuntu.com.