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?

3
  • 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, 2020 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, 2020 at 16:25
  • You're welcome. I posted my comment as an answer.
    – xunilk
    Mar 6, 2020 at 16:44

2 Answers 2

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.

0

From here:

To fix this on my side, I had to uninstall libproj* manually

sudo apt remove libproj15 libproj-dev libproj19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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