web-dev-qa-db-ja.com

libpq-devをubuntu 14.04にインストールできません

Postgresql用のlibpq-devをインストールできません。

Sudo apt-get install libpq-dev

および出力

Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libpq-dev : Depends: libpq5 (= 9.3.9-0ubuntu0.14.04) but 9.4.4-1.pgdg14.04+1 is to be installed
E: Unable to correct problems, you have held broken packages.

この問題を修正するには?

11

問題は解決しました!

Remove libpq5でこれを解決しました:

Sudo apt-get remove libpq5
Sudo apt-get install libpq-dev
21