Çarşamba, Haziran 04, 2014

elementary os(ubuntu 12.04) üzerine postgresql 9.3 kurulumu

$ echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list
$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install postgresql-9.3 postgresql-contrib-9.3


eğer bu tarz bi hata alırsanız

The following packages have ummet dependencies:
  postgresql-9.3 :  Depends: postgresql-client-9.3 but is not going to be installed
                    Depends: postgresql-common (>=1.4.2)...
  ...

postgresql-common u güncelleyip tekrar deneyin

$ sudo apt-get install postgresql-common=151.pgdg12.4+1
$ sudo apt-get install postgresql-9.3 postgresql-contrib-9.3

postgresql-common alternatifleri için

sudo apt-cache policy postgresql-common

Hiç yorum yok: