Bug report #17278
Cannot install QGIS 2.18 on Ubuntu 17.04
|Affected QGIS version:||2.18.13||Regression?:||No|
|Operating System:||Ubuntu 17.04||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||25176|
I am trying to install QGIS 2.18 from the official repositories, on Ubuntu 17.04:
I am following the installation instructions outlined in this StackExchange answer:
Installation fails, with the following dependency errors:
The following packages have unmet dependencies: qgis : Depends: gdal-abi-2-1-1 but it is not installable Depends: libqgis-analysis2.18.13 but it is not going to be installed Depends: libqgis-app2.18.13 but it is not going to be installed Depends: libqgis-core2.18.13 but it is not going to be installed Depends: libqgis-gui2.18.13 but it is not going to be installed Depends: libqgis-networkanalysis2.18.13 but it is not going to be installed Depends: python-qgis (= 1:2.18.13+25yakkety) but 2.14.11+dfsg-2 is to be installed Depends: qgis-providers (= 1:2.18.13+25yakkety) 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.
Note, Ubuntu GIS does not maintain packages for non-LTS versions of Ubuntu, so I have tried the QGIS packages without UbuntuGIS dependencies.
#2 Updated by Harrissou Santanna about 4 years ago
It might be helpful to clearly document the installation steps, including key signing for APT as part of the QGIS official documentation.
which information from the stackexchange discussion do you miss in http://qgis.org/en/site/forusers/alldownloads.html#linux? Aren't all the steps provided ?
#3 Updated by Brylie Oxley about 4 years ago
I guess it is not that information is missing from the installation instructions page. Rather, the information is presented in such a way that is somewhat scattered and ambiguous, requiring careful attention and trial and error. E.g. there are two alternatives for adding GPG keys, where the simpler command to "add the key to apt in one go (without manual fingerprint verification)" would suffice. It is also left to the reader to ascertain that UbuntuGIS is not maintained for non-LTS versions.An improvement would be to have
- a section with exact command(s) that a reader can copy/paste that are common to all Ubuntu platforms (e.g. the GPG key)
- sections for each, currently maintained, Ubuntu version with copy and paste commands that are relevant for that version
#5 Updated by Brylie Oxley about 4 years ago
Another alternative would be to have a unified Linux installer script that would determine the platform and run the appropriate commands, asking only for root permission. The Anaconda Python distribution has an unified Linux installer, which makes installing Anaconda on Linux about as easy as Windows or OS X. The idea being that Linux users appreciate simplicity too ☺