I try to install using PPA
First, I add a link to a file repository source.list directory the /etc/apt/sources.list
$ Sudo nano /etc/apt/sources.list
deb http://ppa.launchpad.net/pitti/postgresql/ubuntu precise play
deb-src http://ppa.launchpad.net/pitti/postgresql/ubuntu precise play
Secondly I did update the repository with the command
$ Sudo apt-get update
although there is an error
: W: GPG error: precise http://ppa.launchpad.net Release: The following signatures could not be verified Because The public key is not available: NO_PUBKEY 99B656EA8683D8A2
I added a way to overcome the apt-key, create a folder Key1 contains the code on the link below
code key1
then I run the command
$ Sudo apt-key add / directory / key1
succeed
I tried to update the back third repository
$ Sudo apt-get update
succeed
four I try to run the following command to install pgadmin3 vs. 1.20.0
$ Sudo apt-get install pgadmin3
yet installed fixed vs. 1.18.0
how do I fix it?
Best Answer
That is because, as mentioned in the PPA page, the PPA is deprecated and will NOT receive ANY UPDATES any more. The 'latest' version available in that PPA is 1.18.1-1.
If you want the latest version, checkout the repository maintained by The PostgreSQL Global Development Group (PGDG). In short,
Create /etc/apt/sources.list.d/pgdg.list and put the following contents:
Import repository key, update and install the packages:
There is also a shell script that will automate repository setup.
Refer documentation for more information.