Tengo problemas para instalar QGIS en Xenial.
lanzamiento de `debian`
Cuando trato de usar la debianversión (es decir, sin ubuntugisdependencias) obtengo los siguientes errores (tenga en cuenta que no hay ninguna xenialversión, así que la he usado wilyal configurar sources.list):
~$ sudo apt install qgis python-qgis qgis-plugin-grass
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
 python-qgis : Depends: python-qgis-common (= 1:2.14.1+23wily) but it is not going to be installed
               Depends: libqgispython2.14.1 but it is not going to be installed
               Depends: libqgis-analysis2.14.1 but it is not going to be installed
               Depends: libqgis-core2.14.1 but it is not going to be installed
               Depends: libqgis-gui2.14.1 but it is not going to be installed
               Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
               Depends: libqgis-server2.14.1 but it is not going to be installed
 qgis : Depends: libgdal.so.1-1.11.2 but it is not installable
        Depends: libgsl0ldbl (>= 1.9) but it is not installable
        Depends: libqgis-analysis2.14.1 but it is not going to be installed
        Depends: libqgis-app2.14.1 but it is not going to be installed
        Depends: libqgis-core2.14.1 but it is not going to be installed
        Depends: libqgis-gui2.14.1 but it is not going to be installed
        Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
        Depends: qgis-providers (= 1:2.14.1+23wily) but it is not going to be installed
        Recommends: qgis-provider-grass but it is not going to be installed
        Recommends: qgis-plugin-globe but it is not going to be installed
 qgis-plugin-grass : Depends: qgis-provider-grass (= 1:2.14.1+23wily) but it is not going to be installed
                     Depends: libqgis-app2.14.1 but it is not going to be installed
                     Depends: libqgis-core2.14.1 but it is not going to be installed
                     Depends: libqgis-gui2.14.1 but it is not going to be installed
                     Depends: libqgisgrass7-2.14.1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
lanzamiento de `ubuntugis`
Después de fallar con la debianversión, probé la ubuntugisversión agregando el ubuntugis-unstablePPA (nuevamente utilicé la wilyversión de ubuntugis para mantener la coherencia con la versión QGIS):
:~$ sudo apt update 
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [92.2 kB]
Hit:2 http://gb.archive.ubuntu.com/ubuntu xenial InRelease                                                                                                
Get:3 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu wily InRelease [15.5 kB]                                                                     
Get:4 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease [93.3 kB]                                                                                    
Hit:5 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease                                                                                             
Hit:6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease                                                                                   
Hit:7 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease                                                        
Get:8 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu wily/main amd64 Packages [4,297 B]                       
Get:9 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu wily/main i386 Packages [4,307 B]                  
Get:10 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu wily/main Translation-en [2,463 B]     
Ign:11 http://linux.dropbox.com/ubuntu wily InRelease                                                  
Hit:12 http://linux.dropbox.com/ubuntu wily Release                      
Ign:14 https://cloud.r-project.org/bin/linux/ubuntu xenial/ InRelease
Hit:15 https://cloud.r-project.org/bin/linux/ubuntu xenial/ Release
Ign:17 http://qgis.org/ubuntugis wily InRelease    
Err:18 http://qgis.org/ubuntugis wily Release
  404  Not Found [IP: 104.27.138.220 80]
Reading package lists... Done
W: https://cloud.r-project.org/bin/linux/ubuntu/xenial/Release.gpg: Signature by key E298A3A825C0D65DFD57CBB651716619E084DAB9 uses weak digest algorithm (SHA1)
E: The repository 'http://qgis.org/ubuntugis wily Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
La línea E: The repository 'http://qgis.org/ubuntugis wily Release' does not have a Release file.parecía bastante fatal, así que lo intenté trusty(la versión compatible más reciente). Esta actualizado, pero al intentar instalar:
:~$ sudo apt install qgis python-qgis qgis-plugin-grass
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
 python-qgis : Depends: python-qgis-common (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
               Depends: libqgispython2.14.1 but it is not going to be installed
               Depends: libqgis-analysis2.14.1 but it is not going to be installed
               Depends: libqgis-core2.14.1 but it is not going to be installed
               Depends: libqgis-gui2.14.1 but it is not going to be installed
               Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
               Depends: libqgis-server2.14.1 but it is not going to be installed
 qgis : Depends: libgdal.so.1-1.11.2
        Depends: libgdal1h (>= 1.8.0) but it is not going to be installed
        Depends: libgeos-c1 (>= 3.4.2) but it is not installable
        Depends: libgsl0ldbl (>= 1.9) but it is not installable
        Depends: libqgis-analysis2.14.1 but it is not going to be installed
        Depends: libqgis-app2.14.1 but it is not going to be installed
        Depends: libqgis-core2.14.1 but it is not going to be installed
        Depends: libqgis-gui2.14.1 but it is not going to be installed
        Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
        Depends: qgis-providers (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
        Recommends: qgis-provider-grass but it is not going to be installed
        Recommends: qgis-plugin-globe but it is not going to be installed
 qgis-plugin-grass : Depends: qgis-provider-grass (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
                     Depends: libgdal1h (>= 1.8.0) but it is not going to be installed
                     Depends: libqgis-app2.14.1 but it is not going to be installed
                     Depends: libqgis-core2.14.1 but it is not going to be installed
                     Depends: libqgis-gui2.14.1 but it is not going to be installed
                     Depends: libqgisgrass7-2.14.1 but it is not going to be installed
                     Depends: grass-core but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Finalmente, en aras de la integridad, con el xeniallanzamiento de ubuntugis:
$ sudo apt install qgis python-qgis qgis-plugin-grass
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
 python-qgis : Depends: python-qgis-common (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
               Depends: libqgispython2.14.1 but it is not going to be installed
               Depends: libqgis-analysis2.14.1 but it is not going to be installed
               Depends: libqgis-core2.14.1 but it is not going to be installed
               Depends: libqgis-gui2.14.1 but it is not going to be installed
               Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
               Depends: libqgis-server2.14.1 but it is not going to be installed
 qgis : Depends: libgdal.so.1-1.11.2 but it is not installable
        Depends: libgdal1h (>= 1.8.0) but it is not installable
        Depends: libgeos-c1 (>= 3.4.2) but it is not installable
        Depends: libgsl0ldbl (>= 1.9) but it is not installable
        Depends: libqgis-analysis2.14.1 but it is not going to be installed
        Depends: libqgis-app2.14.1 but it is not going to be installed
        Depends: libqgis-core2.14.1 but it is not going to be installed
        Depends: libqgis-gui2.14.1 but it is not going to be installed
        Depends: libqgis-networkanalysis2.14.1 but it is not going to be installed
        Depends: qgis-providers (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
        Recommends: qgis-provider-grass but it is not going to be installed
        Recommends: qgis-plugin-globe but it is not going to be installed
 qgis-plugin-grass : Depends: qgis-provider-grass (= 1:2.14.1+20trusty-ubuntugis) but it is not going to be installed
                     Depends: libgdal1h (>= 1.8.0) but it is not installable
                     Depends: libqgis-app2.14.1 but it is not going to be installed
                     Depends: libqgis-core2.14.1 but it is not going to be installed
                     Depends: libqgis-gui2.14.1 but it is not going to be installed
                     Depends: libqgisgrass7-2.14.1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Esperemos que pronto esté disponible una versión de QGIS para Xenial, pero ¿alguien ha podido instalar QGIS 2.14 en Xenial?
fuente

Respuestas:
Parece que en realidad hay soporte de Xenial en el repositorio de Debian y aunque no he probado la siguiente solución, creo que vale la pena intentarlo.
Antes de intentar lo siguiente, desinstalaría todos los paquetes qgis anteriores usando
sudo apt-get remove qgis python-qgis qgis-plugin-grassy eliminardeb http://qgis.org/debian wily mainydeb-src http://qgis.org/debian wily mainde/etc/apt/sources.list.EDITAR Para eliminar paquetes que se instalan como dependencias automáticas al instalar qgis, ejecute el comando
sudo apt-get autoremovedespués de ejecutar los comandos anteriores para eliminarlos. EDICIÓN FINALLo siguiente está adaptado de qgis.org para incluir la
xenialpalabra clave.Agregue lo siguiente a su
/etc/apt/sources.list:deb http://qgis.org/debian xenial maindeb-src http://qgis.org/debian xenial mainluego ejecuta:
sudo apt-get updatesudo apt-get install qgis python-qgis qgis-plugin-grassEstoy muy interesado en saber si lo haces funcionar.
fuente
Si no está seguro de qué distribuciones son compatibles, ingrese la URL después
deben su navegador y vaya a ladistscarpeta.Entonces verá que
http://qgis.org/debian/dists/depende de xenial, mientras quehttp://qgis.org/ubuntugis/dists/solo es compatible con precisión y confianza.Otras fuentes son el ppa estable ubuntugis , que actualmente solo tiene QGIS 2.8.3 para confianza, mientras que ubuntugis inestable todavía está en QGIS 2.8.1. Ha habido alguna actividad últimamente en esos ppa, así que vigílelos.
Y QGIS 2.14.1 también está disponible para Debian sid desde los principales paquetes de Debian, mientras que jessie backports ofrece 2.8.6 (lo mismo que para Ubuntu).
ACTUALIZAR
El PPA ubuntugis inestable ahora también es compatible con QGIS 2.14.1 para Xenial.
fuente
Como usuario de Linux Mint 'Cinnamon' 17.3 también luché con estas "dependencias insatisfechas (libgdal.so.1-1.11.2 etc.)" y tuve que actualizar el ppa. Hice esto al incluir los siguientes enlaces en
/etc/apt/sources.list:fuente
Para instalarlo en xenial, solo necesita:
fuente
A pesar de implementar muchos consejos que se encuentran en Internet, no pude instalar QGIS en Ubuntu 16.04 hasta que encontré este breve y útil video: https://www.youtube.com/watch?v=hmJwYaYmRDU
Hasta entonces, también estaba luchando con los mensajes sobre varias "dependencias insatisfechas" y "paquetes perdidos / rotos" (un consejo para el creador del video: Entusiasta de Linux)
Estos son los pasos que debe seguir en la terminal:
Paso 1. Escribe:
sudo nano /etc/apt/sources.list[presione enter]Paso 2. Escribe:
[Presione Entrar y cuando se le solicite "Guardar buffers modificados" , presione la tecla y]
Paso 3. Escribe:
wget -O - https://qgis.org/downloads/qgis-2017.gpg.key | gpg --import[presione enter]Escribir:
gpg --fingerprint CAEB3DC3BDF7FB45[presione enter]Paso 4. Escriba:
sudo apt-get update[presione enter]Paso 5. Escribe:
sudo apt-get install qgis-server python-qgis[presione enter]¿Quieres continuar? - [presione la tecla y]
¿Instalar estos paquetes sin verificación? [presione la tecla y]
Luego, QGIS se instalará y luego lo encontrará entre su lista de programas. Buena suerte, espero que esto te ayude.**
fuente
Debian Xenial funciona para mí. Primero instalo bleachbit en un autoremove, clean.
Lo anterior fue traducido por Google de:
fuente