Can't install libpq-dev, ubuntu 10.10 and postgres 9

Posted by sheepwalker on Server Fault See other posts from Server Fault or by sheepwalker
Published on 2011-03-01T16:05:53Z Indexed on 2012/09/22 21:40 UTC
Read the original article Hit count: 654

Filed under:
|
|

I need some headers from the dev-version of postgres 9, which is contained in libpq-dev, for installing the pg gem, but when I execute:

sudo apt-get install libpq-dev

I get the result:

The following packages have unmet dependencies: libpq-dev : Depends: libpq5 (= 8.4.7-0ubuntu0.10.10) but 9.0.1-1~lucid is to be installed

When I tried to remove libpq5 (to reinstall it correctly?), it threatened to remove postgresql-9.0:

The following packages will be REMOVED: libpq5 pgadmin3 php5-pgsql postgresql-9.0 postgresql-client-9.0

Does anybody know how to solve this problem? Thanks.

© Server Fault or respective owner

Related posts about ruby-on-rails

Related posts about postgresql