Can't download Raspberry PI Imager because of pendencies and broken packages

Hey! Hope you're all doing well!

I'm having some problems during the instalation of the raspberry pi imager software on my recently converted to ZorinOS computer. I'm not so used to Linux and this is the first problem I really could not solve.

This is the command that I'm inputing:

sudo apt install /home/lucas/Downloads/imager_1.8.1_amd64.deb

And this is the constant outcome:

Reading package lists... Done
Building a dependency tree
Reading status information... Done
Note, selecting 'rpi-imager' instead of '/home/lucas/Downloads/imager_1.8.1_amd64.deb'
Some packages could not be installed. This could mean that
you have requested an impossible situation or, if you are using the
unstable distribution, that some required packages have not been
created yet or have been removed from Incoming.
The following information may help to resolve the situation:

The following packages have mismatched dependencies:
rpi-imager : Depends on: libc6 (>= 2.34) but 2.31-0ubuntu9.14 is about to be installed
Depends: libgnutls30 (>= 3.7.0) but 3.6.13-2ubuntu1.9 is to be installed
Depends: libqt5core5a (>= 5.15.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libqt5dbus5 (>= 5.14.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libstdc++6 (>= 12) but 10.5.0-1ubuntu1~20.04 is to be installed
E: Unable to fix problems, you kept (hold) broken packages.

Hope any of you can provide me some help on solving this problem. But thanks in advance anyways! :slight_smile:

Sure, the trouble here is that the .deb package is wrapped for Jammy or higher and you are on Focal. You need a Focal package.

Can you try installing this .deb package, instead.

Also, to prevent other issues, please launch a terminal with ctrl+alt+t and run

sudo apt --fix-broken install

Thank you so much! It is solved! :slight_smile:

Just so I can understand this problem better, what is the difference between this Jammy or higher thing and the Focal package?

I already ran this command too during my tries to solve the problem myself, but it did not work at first. I'll be sure to run it once more now just to be sure to prevent other issues as you mentioned.

Again, thank you for your help! :slight_smile:

Ubuntu Major Releases are numbered but also come with a Code Name. Calling it a code name is a bit specious, as they are not secret...
Ubuntu 16.04 is Xenial Xerus
Ubuntu 18.04 is Bionic Beaver
Ubuntu 20.04 is Focal Fossa
Ubtuntu 22.04 is Jammy Jellyfish

The trend is that it is a Trait followed by an Animal to bear that trait. It is also nonsensical...

Zorin OS 16 is based on Ubuntu 20.04, so searching for Focal or for Ubuntu 20.04 will yield packages for that system and base.

Zorin OS 17 is based on Ubuntu 22.04 (the latest LTS stable Ubuntu release), so if running Zorin OS 17 (currently in Beta), you can search for Jammy or Ubuntu 22.04 to find compatible packages.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.