J'ai du mal à installer QGIS sur Xenial.
Sortie de `debian`
Lorsque j'essaie d'utiliser la debian
version (c'est-à-dire sans ubuntugis
dépendances), j'obtiens les erreurs suivantes (veuillez noter qu'il n'y a pas de xenial
version, donc j'ai utilisé wily
lors de la configuration de la 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.
Sortie de `ubuntugis`
Après avoir échoué avec la debian
version, j'ai essayé la ubuntugis
version en ajoutant le ubuntugis-unstable
PPA (encore une fois, j'ai utilisé la wily
version d'ubuntugis pour la cohérence avec la version 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 ligne E: The repository 'http://qgis.org/ubuntugis wily Release' does not have a Release file.
semblait assez fatale, j'ai donc essayé trusty
(la dernière version prise en charge). Cette mise à jour, mais lorsque vous essayez d'installer:
:~$ 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.
Enfin, par souci d'exhaustivité, avec la xenial
sortie 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.
Espérons qu'une version de QGIS pour Xenial sera bientôt disponible, mais quelqu'un a-t-il réussi à installer QGIS 2.14 sur Xenial?
la source
Réponses:
Il semble qu'il y ait en fait un support Xenial dans le dépôt debian et bien que je n'aie pas essayé la solution suivante moi-même, je suppose que cela vaut la peine d'essayer.
Avant d'essayer ce qui suit, je désinstallerais tous les paquets qgis précédents en utilisant
sudo apt-get remove qgis python-qgis qgis-plugin-grass
et en supprimantdeb http://qgis.org/debian wily main
et àdeb-src http://qgis.org/debian wily main
partir de/etc/apt/sources.list
.EDIT Pour supprimer les packages installés en tant que dépendances automatiques lors de l'installation de qgis, exécutez la commande
sudo apt-get autoremove
après avoir exécuté les commandes ci-dessus pour les supprimer. FIN DE LA MODIFICATIONCe qui suit est adapté de qgis.org pour inclure le
xenial
mot - clé.Ajoutez ce qui suit à votre
/etc/apt/sources.list
:deb http://qgis.org/debian xenial main
deb-src http://qgis.org/debian xenial main
puis exécutez:
sudo apt-get update
sudo apt-get install qgis python-qgis qgis-plugin-grass
Je suis très intéressé de savoir si vous le faites fonctionner.
la source
Si vous ne savez pas quelles distributions sont prises en charge, entrez l'URL après
deb
dans votre navigateur et accédez audists
dossier.Ensuite, vous voyez que cela
http://qgis.org/debian/dists/
dépend de xenial, alors qu'ilhttp://qgis.org/ubuntugis/dists/
ne prend en charge que des informations précises et fiables.D'autres sources sont le ppa stable ubuntugis , qui n'a actuellement que QGIS 2.8.3 pour trusty, tandis que ubuntugis unstable est toujours à QGIS 2.8.1. Il y a eu une activité récente sur ces ppa, alors gardez un œil sur eux.
Et QGIS 2.14.1 est également disponible pour Debian Sid à partir des principaux paquets Debian, tandis que les backports jessie proposent 2.8.6 (comme pour Ubuntu).
MISE À JOUR
Le PPA ubuntugis-unstable prend désormais également en charge QGIS 2.14.1 pour Xenial.
la source
En tant qu'utilisateur Linux Mint 'Cinnamon' 17.3, j'ai également eu du mal avec ces "dépendances non satisfaites (libgdal.so.1-1.11.2 etc.)" et j'ai dû mettre à jour le ppa. Je l'ai fait en incluant les liens suivants dans le
/etc/apt/sources.list
:la source
Pour l'installer dans xenial, il suffit de:
la source
Malgré la mise en œuvre de nombreux conseils trouvés sur Internet, je n'ai pas pu installer QGIS sur Ubuntu 16.04 jusqu'à ce que je tombe sur cette vidéo courte et utile: https://www.youtube.com/watch?v=hmJwYaYmRDU
Jusque-là, je me débattais aussi avec des messages sur diverses "dépendances non satisfaites" et "paquets manquants / cassés" (astuce du chapeau au créateur de la vidéo: Linux Enthusiast)
Voici les étapes à suivre dans le terminal:
Étape 1. Tapez:
sudo nano /etc/apt/sources.list
[appuyez sur Entrée]Étape 2. Tapez:
[Appuyez sur Entrée, et lorsque vous êtes invité à "Enregistrer les tampons modifiés" , appuyez sur la touche y]
Étape 3. Tapez:
wget -O - https://qgis.org/downloads/qgis-2017.gpg.key | gpg --import
[appuyez sur Entrée]Tapez:
gpg --fingerprint CAEB3DC3BDF7FB45
[appuyez sur Entrée]Étape 4. Tapez:
sudo apt-get update
[appuyez sur Entrée]Étape 5. Tapez:
sudo apt-get install qgis-server python-qgis
[appuyez sur Entrée]Voulez-vous continuer? - [appuyez sur la touche y]
Installer ces packages sans vérification? [appuyez sur la touche y]
QGIS s'installera ensuite et vous le trouverez ensuite dans votre liste de programmes. Bonne chance, j'espère que ça t'a aidé.**
la source
Debian Xenial fonctionne pour moi. J'installe d'abord bleachbit sur un autoremove, propre.
Ce qui précède a été traduit par Google de:
la source