26 votos

Instalar QGIS 2.14 Essen en Ubuntu 16.04 Xenial

Tengo problemas para instalar QGIS en Xenial.

versión `debian

Cuando intento utilizar el debian liberación (es decir, sin ubuntugis dependencias) obtengo los siguientes errores (tenga en cuenta que no hay xenial por lo que he utilizado wily al configurar el 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.

liberación de `ubuntugis

Tras fracasar con el debian release He probado el ubuntugis añadiendo el botón ubuntugis-unstable PPA (de nuevo he utilizado el wily de ubuntugis para mantener la coherencia con la versión de 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 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.

Por último, en aras de la exhaustividad, con el xenial liberación 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 conseguido instalar QGIS 2.14 en Xenial?

35voto

Jyoti Acharya Puntos 131

Parece que realmente hay soporte para Xenial en el repositorio debian y aunque no he probado la siguiente solución yo mismo supongo que vale la pena intentarlo.

Antes de intentar lo siguiente yo desinstalaría todos los paquetes qgis anteriores usando sudo apt-get remove qgis python-qgis qgis-plugin-grass y eliminar deb http://qgis.org/debian wily main y deb-src http://qgis.org/debian wily main de /etc/apt/sources.list .

EDITAR Para eliminar los paquetes que se instalan como dependencias automáticas al instalar qgis, ejecute el comando sudo apt-get autoremove después de ejecutar los comandos anteriores para eliminarlos. FIN EDICIÓN

Lo que sigue es una adaptación de qgis.org para incluir el xenial palabra clave.

Añada lo siguiente a su /etc/apt/sources.list :

deb http://qgis.org/debian xenial main

deb-src http://qgis.org/debian xenial main

a continuación, ejecute:

sudo apt-get update

sudo apt-get install qgis python-qgis qgis-plugin-grass

Me interesa mucho saber si consigues que funcione.

4voto

SpliFF Puntos 214

Si no está seguro de qué distribuciones son compatibles, introduzca la url después de deb en su navegador y vaya a la página dists carpeta.

Entonces ves que http://qgis.org/debian/dists/ depende de xenial, mientras que http://qgis.org/ubuntugis/dists/ sólo admite precisos y fiables.

Otras fuentes son ubuntugis ppa estable que actualmente sólo tiene QGIS 2.8.3 para trusty, mientras que ubuntugis unstable está todavía en QGIS 2.8.1. Ha habido algo de actividad últimamente en esas ppa, así que no las pierdas de vista.

Y QGIS 2.14.1 también está disponible para Debian sid desde los paquetes principales debian, mientras que jessie backports ofrece 2.8.6 (igual que para Ubuntu).


ACTUALIZACIÓN

En ubuntugis-unstable PPA ahora también es compatible con QGIS 2.14.1 para Xenial.

3voto

Simo Salminen Puntos 1836

Como usuario de Linux Mint 'Cinnamon' 17.3 también tuve problemas con estas "dependencias no satisfechas (libgdal.so.1-1.11.2 etc.)" y tuve que actualizar el ppa. Lo hice incluyendo los siguientes enlaces en el archivo /etc/apt/sources.list :

deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu trusty main
deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu trusty main

0voto

Ralph Puntos 33

Para instalarlo en xenial, sólo necesitas:

sudo apt-get update
sudo apt-get install qgis

0voto

leoflower Puntos 11

A pesar de poner en práctica muchos consejos encontrados en Internet no he podido conseguir que QGIS se instale en Ubuntu 16.04 hasta He encontrado este breve y útil vídeo: https://www.youtube.com/watch?v=hmJwYaYmRDU

Hasta entonces también estaba luchando con mensajes sobre varios "dependencias no satisfechas" y "paquetes perdidos/rotos" (sugerencia para el creador del vídeo: Linux Enthusiast)

Estos son los pasos que debes seguir en el terminal:

Primer paso. Teclea:

sudo nano /etc/apt/sources.list [pulse intro]

Segundo paso. Teclea:

deb https://qgis.org/ubuntugis-ltr xenial main

deb-src https://qgis.org/ubuntugis-ltr xenial main    

deb http:/ppa.launchpad.net/ubuntugis-unstable/ubuntu/ubuntu xenial main

[Pulse Intro y, cuando se le solicite "Guardar buffers modificados" pulse la tecla y].

Tercer paso. Teclea:

wget -O - https://qgis.org/downloads/qgis-2017.gpg.key | gpg --import [pulse intro]

Teclea:

gpg --fingerprint CAEB3DC3BDF7FB45 [pulse intro]

Paso 4. Teclea:

sudo apt-get update [pulse intro]

Paso 5. Teclea:

sudo apt-get install qgis-server python-qgis [pulse intro]

¿Quieres continuar? - [pulse la tecla y]

¿Instalar estos paquetes sin verificación? [pulse la tecla y]

QGIS se instalará y, a continuación, lo encontrará entre su lista de programas. Buena suerte, espero que te haya ayudado.

i-Ciencias.com

I-Ciencias es una comunidad de estudiantes y amantes de la ciencia en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros usuarios, hacer tus propias preguntas o resolver las de los demás.

Powered by:

X