Installing postgresql 9.2 in Ubuntu 13.04 (2013 August)

Ubuntu doesn't like PostgreSQL 9.2 because it breaks other packages (see explanation in stackoverflow). We need to use PostgreSQL own apt repository:

prompt$ sudo sh -c  "echo 'deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main' > /etc/apt/sources.list.d/pgdg.list"
prompt$ wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
OK
prompt$
prompt$ sudo apt-get update
prompt$ sudo apt-get install postgresql

That's all 🙂

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *