[GIS] Linux Mint: QGIS won’t install

installationlinux-mintqgis

Linux Mint 17.2.
After trying to reinstall QGIS through various processes referred to on SE, AskUbuntu & anywhere else*, I get various unmet dependency or held broken packages errors.

Even with adjusting the repository details from saucy or xenial to trusty etc, I still can't get anywhere.

I have had this message a number of times:

The following packages have unmet dependencies.
 qgis : Depends: qgis-providers (= 2.14.3+dfsg-2~trusty1) but it is not going to be installed

I can't find out what this means to rectify it – anything I've followed up hasn't worked.

I am trying to install QGIS 2.18 with GRASS.

Can someone help?

*eg:
Broken packages and unmet dependency installation QGIS, PostgreSQL and postgis Ubuntu 14.04

QGIS install on Ubuntu 14.04 fails

https://askubuntu.com/questions/351899/qgis-quantum-gis-install-fails-unmet-dependencies

Best Answer

Got this problem a long time ago on Ubuntu.

Now I'm using Mint and I've installed QGIS without any problems with:

# add-apt-repository ppa:ubuntugis/ubuntugis-unstable

# nano /etc/apt/sources.list

Edit sources list and add two lines:

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

Update and install QGIS:

# apt-get update

# apt-get install qgis

Before you try, please purge your current QGIS installation.