2016-07-21 2 views
0

PostgreSQL 9.5가 설치되어 있고 Debian 8.5 jessie에서 작업하고 있습니다.Debian 8.5에 postgresql-9.5-postgis-2.2를 설치하는 중 오류가 발생했습니다.

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\ 

그래서 모든 종속성이 안정 제시 버전으로 다운 그레이드 된 제거

관련 문제