2016-07-21 7 views
0

У меня установлен PostgreSQL 9.5 и работает на Debian 8.5 jessie.Ошибка при установке postgresql-9.5-postgis-2.2 на Debian 8.5 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 

Кто-нибудь есть идея, что я должен сделать, чтобы двигаться дальше? Thank you

ответ

0

Ok. Если кто-то еще была проблема - я удалил testing.pref из /etc/apt/preferences.d/ и удалены

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

из sources.list так все зависимости были понижены до стабильной версии Jessie