【发布时间】:2016-07-22 15:50:47
【问题描述】:
我已经安装了 PostgreSQL 9.5 并且正在使用 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.
已经尝试过修复:
root@dbServer:~$ 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.
我的来源.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
有人知道我应该怎么做才能走得更远吗?谢谢你
【问题讨论】:
标签: postgresql debian postgis apt-get package-managers