我知道这可能是重复的主题,但我已经努力了几天。我将QGIS从2.8升级到2.18,然后一切都坏了。我无法在pgadmin3上使用PostGIS扩展。
我发现与libgdal1h
:发生冲突:如果已安装,它将删除PostGIS使用的其他库,反之亦然。
我尝试了一些有关如何安装QGIS的教程,例如:
在Ubuntu 16.04 Xenial上安装QGIS 2.14 Essen
我尝试了在线报告的每个建议,例如:
/ubuntu/351899/qgis-quantum-gis-install-fails-unmet-dependencies
/ubuntu/621406/dist-upgrade-in-ubuntu-14-04-uninstalled-qgis-and-results-in-unmet-dependencies
在哪里可以找到与libgeos-3.5.0兼容的libgeos-c1版本?
通常,的回复sudo apt-get install qgis python-qgis
是:
The following packages have unmet dependencies:
python-qgis : Depends: python-qt4-sql but it is not installable
Depends: python-qgis-common (= 1:2.14.8+20trusty-ubuntugis) but it is not going to be installed
Depends: python-psycopg2 but it is not installable
Depends: python-qscintilla2 but it is not installable
Depends: python-jinja2 but it is not installable
Depends: python-markupsafe but it is not installable
Depends: python-pygments but it is not installable
Depends: python-yaml but it is not installable
Depends: python-pyspatialite but it is not installable
Depends: libqgispython2.14.8 but it is not going to be installed
Depends: libqgis-analysis2.14.8 but it is not going to be installed
Depends: libqgis-core2.14.8 but it is not going to be installed
Depends: libqgis-gui2.14.8 but it is not going to be installed
Depends: libqgis-networkanalysis2.14.8 but it is not going to be installed
Depends: libqgis-server2.14.8 but it is not going to be installed
Recommends: liblwgeom-dev but it is not installable
qgis : Depends: gdal-abi-2-1-0 but it is not installable
Depends: libgdal20 (>= 2.0.1) but it is not installable
Depends: libgeos-c1v5 (>= 3.4.2) but it is not installable
Depends: libqgis-analysis2.14.8 but it is not going to be installed
Depends: libqgis-app2.14.8 but it is not going to be installed
Depends: libqgis-core2.14.8 but it is not going to be installed
Depends: libqgis-gui2.14.8 but it is not going to be installed
Depends: libqgis-networkanalysis2.14.8 but it is not going to be installed
Depends: qgis-providers (= 1:2.14.8+20trusty-ubuntugis) but it is not going to be installed
Depends: qgis-common (= 1:2.14.8+20trusty-ubuntugis) but it is not going to be installed
Recommends: qgis-plugin-globe but it is not going to be installed
Recommends: qgis-plugin-grass but it is not going to be installed
Recommends: qgis-provider-grass but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我已经删除了所有软件包和库,因此我没有任何与Synaptic软件包管理器以及所有与命令有关的postgis,postgres和QGIS相关的库:
sudo apt-get purge qgis
sudo apt-get autoremove qgis
sudo apt-get --purge remove qgis
sudo apt-get update
但是问题还没有解决。
我试图删除文件上的ubuntugis和/或debian的回购协议/etc/apt/sources.list
。
没有。
而且我不明白为什么,使用此资源http://qgis.org/ubuntugis/,我仍然有关于悬赏的问题。
我该怎么办?
我打算格式化笔记本电脑,希望这对损坏的包装有帮助。.对于损坏的包装,我已经尝试过:
sudo apt-get update –fix-missing
sudo apt-get install -f
但没有固定的。