Soy consciente de que este podría ser un tema duplicado, pero estoy luchando durante varios días. Actualicé QGIS de 2.8 a 2.18 y después de eso todo se rompió. No pude usar la extensión PostGIS en pgadmin3.
Me di cuenta de que había un conflicto con un libgdal1h
: si está instalado, elimina otras bibliotecas utilizadas por PostGIS y viceversa.
Intenté varios tutoriales sobre cómo instalar QGIS, como por ejemplo:
¿Cómo obtengo e instalo la última versión de QGIS en Ubuntu?
Instale QGIS 2.14 Essen en Ubuntu 16.04 Xenial
Intenté todas las sugerencias reportadas en línea, como por ejemplo:
/ubuntu/351899/qgis-quantum-gis-install-fails-unmet-dependencies
/ubuntu/621406/dist-upgrade-in-ubuntu-14-04-uninstalled-qgis-and-results-in-unmet-dependencies
¿Dónde encontrar una versión de libgeos-c1 compatible con libgeos-3.5.0?
La instalación de QGIS en Ubuntu 14.04 falla
La respuesta de siempre sudo apt-get install qgis python-qgis
es:
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.
He eliminado todos los paquetes y las bibliotecas, por lo que no tengo ninguna biblioteca relacionada con postgis, postgres y QGIS con Synaptic Package Manager y todo con los comandos:
sudo apt-get purge qgis
sudo apt-get autoremove qgis
sudo apt-get --purge remove qgis
sudo apt-get update
Pero el problema aún no está resuelto.
Traté de eliminar el repositorio de ubuntugis y / o debian en el archivo /etc/apt/sources.list
.
Nada.
Y no entiendo por qué, usando esta fuente http://qgis.org/ubuntugis/ Todavía tengo problemas sobre las diferencias.
¿Qué tengo que hacer?
Estoy planeando formatear mi computadora portátil con la esperanza de que esto me ayude con los paquetes rotos ... para los paquetes rotos, ya he intentado:
sudo apt-get update –fix-missing
sudo apt-get install -f
Pero nada arreglado.
fuente