1

I had QGIS 3.10 installed on Ubuntu 18.04. Hoping for ECW support I ran the bash code located

here. While this code executed without error QGIS 3.10 is not available on my computer anymore.

After running the installation again using

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

I get the following error:

The following packages have unmet dependencies: python3-qgis : Depends: python3-qgis-common (= 1:3.4.15+28bionic-ubuntugis) but it is not going to be installed qgis : Depends: qgis-providers (= 1:3.4.15+28bionic-ubuntugis) but it is not going to be installed Depends: qgis-common (= 1:3.4.15+28bionic-ubuntugis) but 1:3.10.2+28bionic-ubuntugis is to be installed qgis-plugin-grass : Depends: qgis-plugin-grass-common (= 1:3.4.15+28bionic-ubuntugis) but 1:3.10.2+28bionic-ubuntugis is to be installed E: Unable to correct problems, you have held broken packages.

How do I install QGIS given this situation?

  • 1
    You have to fix broken packages. You can search how do that in maketecheasier.com/fix-broken-packages-ubuntu or whatever similar post. – xunilk Mar 6 at 3:29
  • Thanks @xunilk, running sudo apt update --fix-missing reinstalled the missing dependencies. If you post your comment as an answer I will mark it as answered. – GBG Mar 6 at 16:25
  • You're welcome. I posted my comment as an answer. – xunilk Mar 6 at 16:44
3

Before running the installation of QGIS 3 again, you have to fix broken packages. You can search how do that in maketecheasier.com/fix-broken-packages-ubuntu or whatever similar post.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.