I am trying to install QGIS (any version) on Ubuntu 16.04 and Python 2.7 or Python 3.7.2
I run the
sudo apt-get install qgis python-qgis qgis-plugin-grass saga and I get :
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.18.16+20trusty) but it is not going to be installed
Depends: libqgispython2.18.16 but it is not going to be installed
Depends: libqgis-analysis2.18.16 but it is not going to be installed
Depends: libqgis-core2.18.16 but it is not going to be installed
Depends: libqgis-gui2.18.16 but it is not going to be installed
Depends: libqgis-networkanalysis2.18.16 but it is not going to be installed
Depends: libqgis-server2.18.16 but it is not going to be installed
Recommends: liblwgeom-dev but it is not going to be installed
qgis : 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.18.16 but it is not going to be installed
Depends: libqgis-app2.18.16 but it is not going to be installed
Depends: libqgis-core2.18.16 but it is not going to be installed
Depends: libqgis-gui2.18.16 but it is not going to be installed
Depends: libqgis-networkanalysis2.18.16 but it is not going to be installed
Depends: qgis-providers (= 1:2.18.16+20trusty) but it is not going to be installed
Recommends: qgis-provider-grass but it is not going to be installed
qgis-plugin-grass : Depends: qgis-provider-grass (= 1:2.18.16+20trusty) but it is not going to be installed
Depends: libgdal1h (>= 1.8.0) but it is not installable
Depends: libqgis-app2.18.16 but it is not going to be installed
Depends: libqgis-core2.18.16 but it is not going to be installed
Depends: libqgis-gui2.18.16 but it is not going to be installed
Depends: libqgisgrass6-2.18.16 but it is not going to be installed
Depends: grass-core but it is not going to be installed
Depends: grass643 but it is not installable
saga : Depends: saga-common (= 2.3.1+dfsg-3~ubuntugis~xenial2) but 2.3.1+dfsg-3~ubuntugis~xenial6 is to be installed
Depends: gdal-abi-2-1-3
E: Unable to correct problems, you have held broken packages.
How do I fix this?