ubuntu - Can't Install postgresql-9.3 on ubunutu 12.04 -
when tried install postgresql-9.3 or higher shows me below errors
$ sudo apt-get install postgresql-9.3
- reading package lists... done
- building dependency tree
- reading state information... done
- some packages not installed. may mean have requested impossible situation or if using unstable distribution required packages have not yet been created or been moved out of incoming.
the following information may resolve situation:
the following packages have unmet dependencies: postgresql-9.3 : depends: libc6 (>= 2.16) 2.15-0ubuntu10.12 installed
- e: unable correct problems, have held broken packages.
i had similar problem, turns out had added 14.04 repo instead of 12.04
after doing suggested
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
it worked fine
Comments
Post a Comment