2016-07-21 28 views
0

Ich habe PostgreSQL 9.5 installiert und arbeitet an Debian 8.5 jessie.Fehler bei der Installation von Postgresql-9.5-Postgis-2.2 auf 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. 

bereits versucht Festsetzung:

[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. 

Mein 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 

Hat jemand eine Idee, was soll ich weiter bewegen zu tun? Danke

Antwort

0

Ok. Wenn jemand mehr das Problem hat - i entfernt testing.pref aus /etc/apt/preferences.d/ und entfernt

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

von sources.list so alle Abhängigkeiten zu stabilen jessie Version herabgestuft wurden