Discussion:
need help: unmet dependencies
(too old to reply)
Michael Morgan
2024-08-01 15:20:01 UTC
Permalink
Dear all,

I don't know much about linux and need your kind help.

My son's Raspberry Pi 4B's OS is "Debian GNU/Linux 12 (bookworm)" (from
"/etc/os-release").

Yesterday I tried to run "apt update" "apt upgrade", but it stuck at
upgrading package "chromium-browser" (The progress status bar froze; cannot
ssh to it anymore; although I still can ping it).

I had to shut it down and reboot it. I tried it several times but it always
stuck whenever trying to install the package. I also got the following
warning:

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
chromium-browser : Depends: chromium-codecs-ffmpeg-extra (=
126.0.6478.164-rpt1) but 122.0.6261.89-rpt1 is to be installed or
chromium-codecs-ffmpeg (= 126.0.6478.164-rpt1)
but it is not going to be installed
Recommends: chromium-browser-l10n but it is not going
to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
specify a solution).

When I ran "apt --fix-broken install", I got the following message:

The following additional packages will be installed:
chromium-browser chromium-codecs-ffmpeg-extra
The following packages will be upgraded:
chromium-browser chromium-codecs-ffmpeg-extra

But when I continued with the installation, it froze again:
Reading changelogs... 33%

What should I do?

My "/etc/apt/sources.list" is quite simple:
deb http://deb.debian.org/debian bookworm main contrib non-free
non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main contrib
non-free non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
non-free-firmware

Thank you very much!

Michael
Dan Ritter
2024-08-01 16:10:01 UTC
Permalink
Post by Michael Morgan
chromium-browser chromium-codecs-ffmpeg-extra
chromium-browser chromium-codecs-ffmpeg-extra
Reading changelogs... 33%
What should I do?
1. Check disk space:
sudo df -h
sudo df -i

If you are out of disk space on any filesystem, or out of
inodes, you will need to clear space before doing anything else.

2. Clear existing packages.
sudo apt clean

3. Get a new update on repository state:
sudo apt update

4. Download the new packages without installing them:
sudo apt upgrade -d

5. Install the new packages:
sudo apt upgrade

Each step needs to be successful before starting the next one;
if you run into errors or warnings, come back and tell us
exactly what they are.

Loading...