我需要一些来自postgres 9的dev-version的头文件,它包含在libpq-dev中,用于安装pg gem,但是当我执行时:
sudo apt-get install libpq-dev
我得到了结果:
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
当我试图删除libpq5(正确地重新安装它?)时,它威胁要删除postgresql-9.0:
The following packages will be REMOVED:
libpq5 pgadmin3 PHP5-pgsql postgresql-9.0 postgresql-client-9.0
有人知道如何解决这个问题吗?谢谢.