Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] dpkg problems with missing dependances

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
dialupmodem
Posts: 9
Joined: 2023-06-05 21:08
Been thanked: 1 time

[Software] dpkg problems with missing dependances

#1 Post by dialupmodem »

Recently I have freshly installed Debian on my notebook, installing programs via apt-get works perfectly. dpkg, however, will always return something along these lines:

Code: Select all

dpkg -i ./ungoogled-chromium_112.0.5615.165-1_amd64.deb
(Reading database ... 144275 files and directories currently installed.)
Preparing to unpack .../ungoogled-chromium_112.0.5615.165-1_amd64.deb ...
Unpacking ungoogled-chromium (112.0.5615.165-1) over (112.0.5615.165-1) ...
dpkg: dependency problems prevent configuration of ungoogled-chromium:
 ungoogled-chromium depends on libc6 (>= 2.35); however:
  Version of libc6:amd64 on system is 2.31-13+deb11u6.
 ungoogled-chromium depends on libflac12 (>= 1.3.0); however:
  Package libflac12 is not installed.
 ungoogled-chromium depends on libfreetype6 (>= 2.11.1); however:
  Version of libfreetype6:amd64 on system is 2.10.4+dfsg-1+deb11u1.
 ungoogled-chromium depends on libjsoncpp25 (>= 1.9.5); however:
  Package libjsoncpp25 is not installed.
 ungoogled-chromium depends on libre2-9 (>= 20201101+dfsg); however:
  Package libre2-9 is not installed.
 ungoogled-chromium depends on libsnappy1v5 (>= 1.1.9); however:
  Version of libsnappy1v5:amd64 on system is 1.1.8-1.
 ungoogled-chromium depends on libstdc++6 (>= 12); however:
  Version of libstdc++6:amd64 on system is 10.2.1-6.
 ungoogled-chromium depends on libtiff6 (>= 4.0.3); however:
  Package libtiff6 is not installed.
 ungoogled-chromium depends on libwebp7 (>= 1.2.4); however:
  Package libwebp7 is not installed.
 ungoogled-chromium depends on libwebpdemux2 (>= 1.2.4); however:
  Version of libwebpdemux2:amd64 on system is 0.6.1-2.1+deb11u1.
 ungoogled-chromium depends on libwebpmux3 (>= 1.2.4); however:
  Version of libwebpmux3:amd64 on system is 0.6.1-2.1+deb11u1.

I read on-line that running

Code: Select all

sudo apt install -f 
is supposed to automatically install the missing dependances, but it didn't actually work.
So now I can't install anything with dpkg -i because there are missing dependances and it does nothing to help me with that.

Am i missing something obvious?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: [Software] dpkg problems with missing dependances

#2 Post by 4D696B65 »

apt -f install will install the dependencies if the versions needed are in the repo. You need newer packages than what is in the repo so your dependencies cannot be satisfied.

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 698
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 129 times
Been thanked: 59 times

Re: [Software] dpkg problems with missing dependances

#3 Post by cds60601 »

I'm curious, is there a specific reason why you are running ungoogled over chromium in the repo?
Supercalifragilisticexpialidocious

dialupmodem
Posts: 9
Joined: 2023-06-05 21:08
Been thanked: 1 time

Re: [Software] dpkg problems with missing dependances

#4 Post by dialupmodem »

cds60601 wrote: 2023-06-05 21:58 I'm curious, is there a specific reason why you are running ungoogled over chromium in the repo?
Not really, just the concept of it being ungoogled.
There's also my printer's driver which also suffers from the same issue.

So that's why I'm asking about it

Aki
Global Moderator
Global Moderator
Posts: 2816
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 68 times
Been thanked: 382 times

Re: [Software] dpkg problems with missing dependances

#5 Post by Aki »

Hello,
As @4D696B65 pointed out, you are probably mixing debian repository with "un-official" repositories, that are not made to work with Debian's ones. This situation is described in this page of the Debian wiki: https://wiki.debian.org/DontBreakDebian
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

dialupmodem
Posts: 9
Joined: 2023-06-05 21:08
Been thanked: 1 time

Re: [Software] dpkg problems with missing dependances

#6 Post by dialupmodem »

4D696B65 wrote: 2023-06-05 21:29 apt -f install will install the dependencies if the versions needed are in the repo. You need newer packages than what is in the repo so your dependencies cannot be satisfied.
I tried running the command you have sent me. this is what happens:

Code: Select all

apt -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  ungoogled-chromium
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 372 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 143653 files and directories currently installed.)
Removing ungoogled-chromium (112.0.5615.165-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for desktop-file-utils (0.26-1) ...
root@notebook-branco:/home/usr/Downloads# dpkg -i ungoogled-chromium_112.0.5615.165-1_amd64.deb
Selecting previously unselected package ungoogled-chromium.
(Reading database ... 143565 files and directories currently installed.)
Preparing to unpack ungoogled-chromium_112.0.5615.165-1_amd64.deb ...
Unpacking ungoogled-chromium (112.0.5615.165-1) ...
dpkg: dependency problems prevent configuration of ungoogled-chromium:
 ungoogled-chromium depends on libc6 (>= 2.35); however:
  Version of libc6:amd64 on system is 2.31-13+deb11u6.
 ungoogled-chromium depends on libflac12 (>= 1.3.0); however:
  Package libflac12 is not installed.
 ungoogled-chromium depends on libfreetype6 (>= 2.11.1); however:
  Version of libfreetype6:amd64 on system is 2.10.4+dfsg-1+deb11u1.
 ungoogled-chromium depends on libjsoncpp25 (>= 1.9.5); however:
  Package libjsoncpp25 is not installed.
 ungoogled-chromium depends on libre2-9 (>= 20201101+dfsg); however:
  Package libre2-9 is not installed.
 ungoogled-chromium depends on libsnappy1v5 (>= 1.1.9); however:
  Version of libsnappy1v5:amd64 on system is 1.1.8-1.
 ungoogled-chromium depends on libstdc++6 (>= 12); however:
  Version of libstdc++6:amd64 on system is 10.2.1-6.
 ungoogled-chromium depends on libtiff6 (>= 4.0.3); however:
  Package libtiff6 is not installed.
 ungoogled-chromium depends on libwebp7 (>= 1.2.4); however:
  Package libwebp7 is not installed.
 ungoogled-chromium depends on libwebpdemux2 (>= 1.2.4); however:
  Version of libwebpdemux2:amd64 on system is 0.6.1-2.1+deb11u1.
 ungoogled-chromium depends on libwebpmux3 (>= 1.2.4); however:
  Version of libwebpmux3:amd64 on system is 0.6.1-2.1+deb11u1.

dpkg: error processing package ungoogled-chromium (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
 ungoogled-chromium
j

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: [Software] dpkg problems with missing dependances

#7 Post by arochester »

There's also my printer's driver
What is the make and model of your printer?

Have you tried the simplified graphical method with system-config-printer? https://lescahiersdudebutant.arpinux.or ... ig-printer

Did you go to https://debianbrasil.org.br/ ?

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: [Software] dpkg problems with missing dependances

#8 Post by sunrat »

Presumably you are using Bullseye. The versions of those package dependencies are not available in Bullseye but may be in Bookworm. For instance

Code: Select all

ungoogled-chromium depends on libflac12 (>= 1.3.0); however:
  Package libflac12 is not installed.
See:- https://packages.debian.org/search?keywords=libflac12

So you will need to upgrade your Debian version to Bookworm (complicated) or install chromium from the Debian repository (simple).

Code: Select all

apt install chromium
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

dialupmodem
Posts: 9
Joined: 2023-06-05 21:08
Been thanked: 1 time

Re: [Software] dpkg problems with missing dependances

#9 Post by dialupmodem »

sunrat wrote: 2023-06-05 22:16 Presumably you are using Bullseye. The versions of those package dependencies are not available in Bullseye but may be in Bookworm. For instance

Code: Select all

ungoogled-chromium depends on libflac12 (>= 1.3.0); however:
  Package libflac12 is not installed.
See:- https://packages.debian.org/search?keywords=libflac12

So you will need to upgrade your Debian version to Bookworm (complicated) or install chromium from the Debian repository (simple).

Code: Select all

apt install chromium
Guess i'll install chromium, then.
Thanks for the input

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: [Software] dpkg problems with missing dependances

#10 Post by stevepusser »

Why are you using "dpkg -i" instead of the much superior "apt" to install debs on the CLI?

Dpkg -i won't install missing dependencies for you; we've been answering this same question forever, it seems.
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: [Software] dpkg problems with missing dependances

#11 Post by stevepusser »

Apparently even Bookworm might not be good enough soon; they only have a Sid repo: https://mirrorcache-us.opensuse.org/rep ... _chromium/
MX Linux packager and developer

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 698
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 129 times
Been thanked: 59 times

Re: [Software] dpkg problems with missing dependances

#12 Post by cds60601 »

dialupmodem wrote: 2023-06-05 22:01
cds60601 wrote: 2023-06-05 21:58 I'm curious, is there a specific reason why you are running ungoogled over chromium in the repo?
Not really, just the concept of it being ungoogled.
There's also my printer's driver which also suffers from the same issue.

So that's why I'm asking about it
Fair answer. Then if you simply must install outside the normal Debian repos, have you considered LibreWolf? It may be as close to an ungoogled chrome as you can get and you may have better luck.
Otherwise, simply installing Chromium and searching the interweds for how to harden Chrome may be an exceptable replacement.
Supercalifragilisticexpialidocious

dialupmodem
Posts: 9
Joined: 2023-06-05 21:08
Been thanked: 1 time

Re: [Software] dpkg problems with missing dependances

#13 Post by dialupmodem »

stevepusser wrote: 2023-06-06 00:53 Why are you using "dpkg -i" instead of the much superior "apt" to install debs on the CLI?

Dpkg -i won't install missing dependencies for you; we've been answering this same question forever, it seems.
well, yes, I have. But it can't install my printer's drivers.
This was the result:

Code: Select all

apt install ./epson-inkjet-printer-escpr_1.7.26-1lsb3.2_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'epson-inkjet-printer-escpr' instead of './epson-inkjet-printer-escpr_1.7.26-1lsb3.2_amd64.deb'
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:
 epson-inkjet-printer-escpr : Depends: lsb (>= 3.2) but it is not installable
E: Unable to correct problems, you have held broken packages.
And the printer configuration wizard someone else pointed out says my printer is a dot matrix, so it sends a file to print, but the printer doesn't actually print anything.
It just sends a blank page out, every time. Along with some unusual behaviour.
I've kind of already solved. But the .deb file for ungoogled chromium never did work.

Code: Select all

./ungoogled-chromium_112.0.5615.165-1_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ungoogled-chromium' instead of './ungoogled-chromium_112.0.5615.165-1_amd64.deb'
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:
 ungoogled-chromium : Depends: libc6 (>= 2.35) but 2.31-13+deb11u6 is to be installed
                      Depends: libflac12 (>= 1.3.0) but it is not installable
                      Depends: libfreetype6 (>= 2.11.1) but 2.10.4+dfsg-1+deb11u1 is to be installed
                      Depends: libjsoncpp25 (>= 1.9.5) but it is not installable
                      Depends: libsnappy1v5 (>= 1.1.9) but 1.1.8-1 is to be installed
                      Depends: libstdc++6 (>= 12) but 10.2.1-6 is to be installed
                      Depends: libtiff6 (>= 4.0.3) but it is not installable
                      Depends: libwebp7 (>= 1.2.4) but it is not installable
                      Depends: libwebpdemux2 (>= 1.2.4) but 0.6.1-2.1+deb11u1 is to be installed
                      Depends: libwebpmux3 (>= 1.2.4) but 0.6.1-2.1+deb11u1 is to be installed
E: Unable to correct problems, you have held broken packages.

dialupmodem
Posts: 9
Joined: 2023-06-05 21:08
Been thanked: 1 time

Re: [Software] dpkg problems with missing dependances

#14 Post by dialupmodem »

cds60601 wrote: 2023-06-06 10:58
dialupmodem wrote: 2023-06-05 22:01
cds60601 wrote: 2023-06-05 21:58 I'm curious, is there a specific reason why you are running ungoogled over chromium in the repo?
Not really, just the concept of it being ungoogled.
There's also my printer's driver which also suffers from the same issue.

So that's why I'm asking about it
Fair answer. Then if you simply must install outside the normal Debian repos, have you considered LibreWolf? It may be as close to an ungoogled chrome as you can get and you may have better luck.
Otherwise, simply installing Chromium and searching the interweds for how to harden Chrome may be an exceptable replacement.
I'm installing chromium due to the fact there's some odd one out pages that won't load with my somewhat hardened firefox.
And other stupid pages with anti-anti-adlbock, so I find it handy to have a vanilla chromium session just for compatibility's sake.

dialupmodem
Posts: 9
Joined: 2023-06-05 21:08
Been thanked: 1 time

Re: [Software] dpkg problems with missing dependances

#15 Post by dialupmodem »

arochester wrote: 2023-06-05 22:08
There's also my printer's driver
What is the make and model of your printer?

Have you tried the simplified graphical method with system-config-printer? https://lescahiersdudebutant.arpinux.or ... ig-printer

Did you go to https://debianbrasil.org.br/ ?
Well, the tool you mentioned didn't seem to work on my printer. Currently I'm browsing through the blog you have mentioned and working on a solution.
thanks

Post Reply