2016-07-21 15 views
0

PostgreSQL 9.5がインストールされ、Debian 8.5 jessieを使用しています。Debian 8.5にpostgresql-9.5-postgis-2.2をインストールする際にエラーが発生しました。jessie

The following packages have unmet dependencies: 
    postgresql-9.5-postgis-2.2 : Depends: libgdal1h (>= 1.9.0) but it is not going to be installed 
           Depends: liblwgeom-2.2-5 (>= 2.2.0) but it is not going to be installed 
           Depends: libsfcgal1 (>= 1.2.0) but it is not going to be installed 
    E: Unable to correct problems, you have held broken packages. 

はすでに固定しようとした:

[email protected]:~$ apt-get -f install 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 

私のsources.list:

deb http://ftp.debian.org/debian jessie main contrib non-free 
deb http://ftp.debian.org/debian jessie-updates main contrib non-free 
deb http://security.debian.org jessie/updates main contrib non-free 
deb http://ftp.de.debian.org/debian jessie main 
deb http://ftp.debian.org/debian stretch main contrib non-free 
deb-src http://ftp.debian.org/debian stretch main contrib non-free 
deb http://apt.postgresql.org/pub/repos/apt jessie-pgdg main 

誰もがさらに移動するには、私が何をすべきという考えを持っていますか?ありがとうございます

答えて

0

誰もがより多くの問題を抱えていた場合 - 私は/etc/apt/preferences.d/から testing.pref を削除し、そのすべての依存関係が安定したジェシー・バージョン

に格下げされたのsources.listから

deb http://ftp.debian.org/debian stretch main contrib non-free 
deb-src http://ftp.debian.org/debian stretch main contrib non-free\ 

を削除しました

関連する問題