Page 1 of 1

PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 9:24 am
by MadMax
Today's updates from the Debian repos break Chromium's dependencies in a way that will remove Chromium from your system. Re-installation will also be not possible. I just stumbled upon this when I wanted to update my system (which I usually do every Friday and/or Saturday).
If you want to keep using Chromium, wait until this issue is resolved.

It's already known and part of a discussion in the Debian forums: https://plethora.debian.net/viewtopic.php?t=161197

Here the output of my updater (in German):

Code: Select all

  vollständige Aktualisierung
  Paketlisten werden gelesen…
  Abhängigkeitsbaum wird aufgebaut…
  Statusinformationen werden eingelesen…
  Paketaktualisierung (Upgrade) wird berechnet…
  Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
     chromium-common (131.0.6778.85-1~deb12u1)
     libc++1-16 (1:16.0.6-15~deb12u1)
     libc++abi1-16 (1:16.0.6-15~deb12u1)
     libunwind-16 (1:16.0.6-15~deb12u1)
  Verwenden Sie »apt autoremove«, um sie zu entfernen.
  Die folgenden Pakete werden ENTFERNT:
     chromium (131.0.6778.85-1~deb12u1)
     chromium-l10n (131.0.6778.85-1~deb12u1)
  Die folgenden Pakete sind zurückgehalten worden:
     chromium-common (131.0.6778.85-1~deb12u1 => 131.0.6778.108-1~deb12u1)
  Die folgenden Pakete werden aktualisiert (Upgrade):
     chromium-sandbox (131.0.6778.85-1~deb12u1 => 131.0.6778.108-1~deb12u1)
     librados2 (16.2.11+ds-2 => 16.2.15+ds-0+deb12u1)
     librbd1 (16.2.11+ds-2 => 16.2.15+ds-0+deb12u1)
  3 aktualisiert, 0 neu installiert, 2 zu entfernen und 1 nicht aktualisiert.
  Es müssen 5.751 kB an Archiven heruntergeladen werden.
  Nach dieser Operation werden 387 MB Plattenplatz freigegeben.

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 10:12 am
by timkb4cq
To reinstall previous chromium:

Code: Select all

sudo apt install chromium=130.0.6723.91-1~deb12u1 chromium-common=130.0.6723.91-1~deb12u1

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 11:00 am
by CatManDan
found that out already last night: viewtopic.php?t=82912

and it was again @timkb4cq who delivered the workaround to get Chromium back so far.

Right now, we'll have to wait for Debian to sort out that mess.

EDIT: Just found the official bug report which offers a second workaround:

https://bugs.debian.org/cgi-bin/bugrepo ... 1089224#17

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 12:09 pm
by JayDo
I can confirm that the second workaround did the trick for me. (Unlike the first).

First I changed "/etc/apt/sources.list.d/debian.list"
# Debian Stable.
deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
#deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware

#debian backports
#deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware

-->> temporarily for activating chromium <<--
deb http://ftp.us.debian.org/debian bookworm-proposed-updates main

Then save /etc/apt/sources.list.d/debian.list/debian.list

-- In the terminal
sudo su
...

root@<computerName>:/home/<user># apt update

Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:3 http://deb.debian.org/debian bookworm InRelease
Hit:4 http://nl.mxrepo.com/mx/repo bookworm InRelease
Hit:5 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Get:6 http://ftp.us.debian.org/debian bookworm-proposed-updates InRelease [60.6 kB]
Get:7 http://ftp.us.debian.org/debian bookworm-proposed-updates/main amd64 Packages [72.7 kB]
Get:8 http://ftp.us.debian.org/debian bookworm-proposed-updates/main i386 Packages [70.9 kB]
Get:9 http://ftp.us.debian.org/debian bookworm-proposed-updates/main Translation-en [47.9 kB]
Get:10 http://ftp.us.debian.org/debian bookworm-proposed-updates/main i386 Contents (deb) [467 kB]
Get:11 http://ftp.us.debian.org/debian bookworm-proposed-updates/main all Contents (deb) [527 kB]
Get:12 http://ftp.us.debian.org/debian bookworm-proposed-updates/main amd64 Contents (deb) [410 kB]
Fetched 1,704 kB in 2s (941 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.

Those 7 packages ( libglib2.0-0, libglib2.0-bin, libglib2.0-data, libmariadb3, libsrt1.5-gnutls, libsynctex2, mariadb-common) are not needed for the chromium install so I ignored them.

root@<computerName>:/home/<user># apt install chromium
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
chromium-common libc++1-19 libc++abi1-19 libharfbuzz-subset0 libminizip1 libunwind-19
Suggested packages:
chromium-l10n chromium-shell chromium-driver clang
Recommended packages:
chromium-sandbox system-config-printer
The following NEW packages will be installed:
chromium chromium-common libc++1-19 libc++abi1-19 libharfbuzz-subset0 libminizip1 libunwind-19
0 upgraded, 7 newly installed, 0 to remove and 7 not upgraded.
Need to get 95.5 MB/97.5 MB of archives.
After this operation, 325 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org/debian-security bookworm-security/main amd64 chromium-common amd64 131.0.6778.108-1~deb12u1 [10.2 MB]
Get:2 http://ftp.us.debian.org/debian bookworm-proposed-updates/main amd64 libunwind-19 amd64 1:19.1.4-1~deb12u1 [62.6 kB]
Get:3 http://security.debian.org/debian-security bookworm-security/main amd64 chromium amd64 131.0.6778.108-1~deb12u1 [84.9 MB]
Get:4 http://ftp.us.debian.org/debian bookworm-proposed-updates/main amd64 libc++abi1-19 amd64 1:19.1.4-1~deb12u1 [104 kB]
Get:5 http://ftp.us.debian.org/debian bookworm-proposed-updates/main amd64 libc++1-19 amd64 1:19.1.4-1~deb12u1 [301 kB]
Fetched 95.5 MB in 4s (23.5 MB/s)

(dpkg-preconfigure:5135): dbind-WARNING **: 17:19:56.793: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(dpkg-preconfigure:5133): dbind-WARNING **: 17:19:56.858: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Selecting previously unselected package libunwind-19:amd64.
(Reading database ... 279569 files and directories currently installed.)
Preparing to unpack .../0-libunwind-19_1%3a19.1.4-1~deb12u1_amd64.deb ...
Unpacking libunwind-19:amd64 (1:19.1.4-1~deb12u1) ...
Selecting previously unselected package libc++abi1-19:amd64.
Preparing to unpack .../1-libc++abi1-19_1%3a19.1.4-1~deb12u1_amd64.deb ...
Unpacking libc++abi1-19:amd64 (1:19.1.4-1~deb12u1) ...
Selecting previously unselected package libc++1-19:amd64.
Preparing to unpack .../2-libc++1-19_1%3a19.1.4-1~deb12u1_amd64.deb ...
Unpacking libc++1-19:amd64 (1:19.1.4-1~deb12u1) ...
Selecting previously unselected package libharfbuzz-subset0:amd64.
Preparing to unpack .../3-libharfbuzz-subset0_6.0.0+dfsg-3_amd64.deb ...
Unpacking libharfbuzz-subset0:amd64 (6.0.0+dfsg-3) ...
Selecting previously unselected package libminizip1:amd64.
Preparing to unpack .../4-libminizip1_1.1-8+deb12u1_amd64.deb ...
Unpacking libminizip1:amd64 (1.1-8+deb12u1) ...
Selecting previously unselected package chromium-common.
Preparing to unpack .../5-chromium-common_131.0.6778.108-1~deb12u1_amd64.deb ...
Unpacking chromium-common (131.0.6778.108-1~deb12u1) ...
Selecting previously unselected package chromium.
Preparing to unpack .../6-chromium_131.0.6778.108-1~deb12u1_amd64.deb ...
Unpacking chromium (131.0.6778.108-1~deb12u1) ...
Setting up libunwind-19:amd64 (1:19.1.4-1~deb12u1) ...
Setting up libminizip1:amd64 (1.1-8+deb12u1) ...
Setting up libc++abi1-19:amd64 (1:19.1.4-1~deb12u1) ...
Setting up libc++1-19:amd64 (1:19.1.4-1~deb12u1) ...
Setting up libharfbuzz-subset0:amd64 (6.0.0+dfsg-3) ...
Setting up chromium-common (131.0.6778.108-1~deb12u1) ...
Setting up chromium (131.0.6778.108-1~deb12u1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...

I unelegantly removed all At and At-SPi shite from my system, so the errors on (dpkg-preconfigure:*): dbind-WARNING can be ignored.

The I changed "/etc/apt/sources.list.d/debian.list"
-->> temporarily for activating chromium <<--
deb http://ftp.us.debian.org/debian bookworm-proposed-updates main

to
# install succesful ! -->>
## deb http://ftp.us.debian.org/debian bookworm-proposed-updates main

The I saved "/etc/apt/sources.list.d/debian.list"


-- In the terminal

root@<computerName>:/home/<user># apt update

Hit:1 http://deb.debian.org/debian bookworm-updates InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm InRelease
Hit:4 http://nl.mxrepo.com/mx/repo bookworm InRelease
Hit:5 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

--->> But <<<---
chromium wasn't starting (even after reboot)

-->> So <<--
I also had to install chromium-sandbox
which I did with synaptic.

Then chromium was back again (:-)

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 12:17 pm
by Eadwine Rose
Please put the code output in code tags. You can post code on the forum like this:

[code]code output here[/code]

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 12:33 pm
by uncle mark
How does this make it into the repos? I get that the package maintainer can't be expected to be perfect in every way, but isn't there supposed to be some vetting/testing involved first?

<sarcasm>
yet another reason I'm happy to stick with my old reliable MX-19
</sarcasm>

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 12:45 pm
by fehlix
Summary of temporary fix:
* enable temporary debians bookworm-proposed-updates repo:

Code: Select all

echo deb https://deb.debian.org/debian  bookworm-proposed-updates main | sudo tee /etc/apt/sources.list.d/mxpitemp.list
* update the package sources list:

Code: Select all

sudo apt update
* install latest chromium:

Code: Select all

sudo apt install chromium chromium-sandbox chromium-l10n
* remove temporary repo again:

Code: Select all

sudo rm /etc/apt/sources.list.d/mxpitemp.list
* check what's installed:

Code: Select all

apt policy chromium
gives : apt policy chromium

Code: Select all

chromium:
  Installed: 131.0.6778.108-1~deb12u1
  Candidate: 131.0.6778.108-1~deb12u1
  Version table:
 *** 131.0.6778.108-1~deb12u1 500
        500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
        100 /var/lib/dpkg/status
     130.0.6723.91-1~deb12u1 500
        500 http://deb.debian.org/debian bookworm/main amd64 Packages
+++EDIT+++
add recommended and suggest packages chromium-sandbox chromium-l10n,
so we got the same what get normally installed with MXPI->Browser->Chromium

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 1:01 pm
by Kermit the Frog
This also worked here:

After the first step (create mxpitemp.list) => "MX Package Installer" (directly, even without updating with apt)
... then remove the mxpitemp.list

Code: Select all

...
Setting up libunwind-19:amd64 (1:19.1.4-1~deb12u1) ...
Setting up libc++abi1-19:amd64 (1:19.1.4-1~deb12u1) ...
Setting up chromium-sandbox (131.0.6778.108-1~deb12u1) ...
Setting up libc++1-19:amd64 (1:19.1.4-1~deb12u1) ...
Setting up chromium-common (131.0.6778.108-1~deb12u1) ...
Setting up chromium (131.0.6778.108-1~deb12u1) ...
Setting up chromium-l10n (131.0.6778.108-1~deb12u1) ...

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 1:14 pm
by fehlix
Kermit the Frog wrote: Sat Dec 07, 2024 1:01 pm This also worked here:

After the first step (create mxpitemp.list) => "MX Package Installer" (directly, even without updating with apt)
... then remove the mxpitemp.list

Code: Select all

...
Setting up libunwind-19:amd64 (1:19.1.4-1~deb12u1) ...
Setting up libc++abi1-19:amd64 (1:19.1.4-1~deb12u1) ...
Setting up chromium-sandbox (131.0.6778.108-1~deb12u1) ...
Setting up libc++1-19:amd64 (1:19.1.4-1~deb12u1) ...
Setting up chromium-common (131.0.6778.108-1~deb12u1) ...
Setting up chromium (131.0.6778.108-1~deb12u1) ...
Setting up chromium-l10n (131.0.6778.108-1~deb12u1) ...
Hmme, this is more of a bug than something I would recommend, because mxpitemp.list should be removed automatically when starting mx-packageinstaller MXPI.
It seems to get remove but unfortunately only after closing MXPI, not also on startup.
So I think we need to adjust MXPI a bit. But thanks for the bug report anyway.

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 1:38 pm
by MelodyNaive
I see the Chromium update is held back now. Thank you MX developers, more specifically whoever took the initiative to do it.

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 1:48 pm
by debianix
fehlix wrote: Sat Dec 07, 2024 12:45 pm Summary of temporary fix...
...
Suppose I decide to do what you describe in the post and the problem is solved.

Is it foreseeable that a package maintainer will fix the problem permanently? If so, would I then have to undo everything possible and do a completely different procedure? What do you think the chances are that the problem will be fixed soon and that it will be possible to install it normally via apt again?

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 1:56 pm
by fehlix
debianix wrote: Sat Dec 07, 2024 1:48 pm
fehlix wrote: Sat Dec 07, 2024 12:45 pm Summary of temporary fix...
...
Suppose I decide to do what you describe in the post and the problem is solved.

Is it foreseeable that a package maintainer will fix the problem permanently? If so, would I then have to undo everything possible and do a completely different procedure? What do you think the chances are that the problem will be fixed soon and that it will be possible to install it normally via apt again?
You either can set chromium on hold - if you still have it installed -, and wait until Debian's maintainer have fixed it,
and you would then remove the hold again to get a newer version.
Or you can upgrade now with the propose fixed, which will get latest installed,
a future updated package will get automatically a higher version, so nothing else todo.
Note: I have adjusted the post, with two additional packages.

Re: PSA: Chromium users beware, new update will remove Chromium!  [Solved]

Posted: Sat Dec 07, 2024 4:50 pm
by fehlix
I think Debian fixed it now, latest chromium got installed here without any special adjustments.

Code: Select all

apt policy chromium
chromium:
  Installed: 131.0.6778.108-1~deb12u1
  Candidate: 131.0.6778.108-1~deb12u1
  Version table:
 *** 131.0.6778.108-1~deb12u1 500
        500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
        100 /var/lib/dpkg/status
     130.0.6723.91-1~deb12u1 500
        500 http://deb.debian.org/debian bookworm/main amd64 Packages

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 4:58 pm
by fehlix
MadMax wrote: Sat Dec 07, 2024 9:24 am Today's updates from the Debian repos break Chromium's dependencies in a way that will remove Chromium from your system. Re-installation will also be not possible. I just stumbled upon this when I wanted to update my system (which I usually do every Friday and/or Saturday).
If you want to keep using Chromium, wait until this issue is resolved.
Maybe mark this thread as [Solved], if it is solved for you.
And perhaps let us know what TLA this PSA is about, if not a health related issue you have?

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 5:28 pm
by Eadwine Rose
In case something got misunderstood: PSA = Public Service Announcement

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 5:40 pm
by fehlix
Eadwine Rose wrote: Sat Dec 07, 2024 5:28 pm In case something got misunderstood: PSA = Public Service Announcement
Ah, good to know, so not
Project Smash Attack
or
Prostate-Specific Antigen

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 5:50 pm
by Eadwine Rose
fehlix wrote: Sat Dec 07, 2024 5:40 pm
Prostate-Specific Antigen
:rofl:

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 5:54 pm
by debianix
fehlix wrote: Sat Dec 07, 2024 4:50 pm I think Debian fixed it now, latest chromium got installed here without any special adjustments.

Code: Select all

apt policy chromium
chromium:
  Installed: 131.0.6778.108-1~deb12u1
  Candidate: 131.0.6778.108-1~deb12u1
  Version table:
 *** 131.0.6778.108-1~deb12u1 500
        500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
        100 /var/lib/dpkg/status
     130.0.6723.91-1~deb12u1 500
        500 http://deb.debian.org/debian bookworm/main amd64 Packages
thank you! installed here as well without any flaws, works as before, thank you so much! :hug:

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sat Dec 07, 2024 11:51 pm
by MelodyNaive
debianix wrote: Sat Dec 07, 2024 5:54 pm
fehlix wrote: Sat Dec 07, 2024 4:50 pm I think Debian fixed it now, latest chromium got installed here without any special adjustments.

Code: Select all

apt policy chromium
chromium:
  Installed: 131.0.6778.108-1~deb12u1
  Candidate: 131.0.6778.108-1~deb12u1
  Version table:
 *** 131.0.6778.108-1~deb12u1 500
        500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
        100 /var/lib/dpkg/status
     130.0.6723.91-1~deb12u1 500
        500 http://deb.debian.org/debian bookworm/main amd64 Packages
thank you! installed here as well without any flaws, works as before, thank you so much! :hug:
Hey, did you get offered 3 New library installs version 19 each, with version 16 of each being removed when u upgraded the fixed Chromium? I earlier today (after seeing this post) did nala upgrade just to see the output without going thru with the upgrade, and Chromium was listed as an upgrade but was being kept back. I ran upgrade tonight and now Chromium is freed up to install the upgrade, but it had those 3 libraries too. I was assuming that they were the fix, but maybe just coincidentally came at the same time. Just curious since u didn't mention it. U upgraded the fix much earlier than I, so maybe the 3 libraries weren't offered yet and have nothing to do with Chromium working.

Also, very strangely, while nala upgrade and MX Updater both show what I just said, my apt upgrade output still shows the earlier state, with Chromium being kept back and no 3 libraries. I wish I knew what that was about.

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sun Dec 08, 2024 1:13 am
by CatManDan
yes, these three libraries that caused the issue have been delivered along with the Chromium update.

Re: PSA: Chromium users beware, new update will remove Chromium!

Posted: Sun Dec 08, 2024 4:12 am
by MadMax
Yes, it looks like the maintainers fixed it. The dependencies are changed and Chromium will properly update now.
Eadwine Rose wrote: Sat Dec 07, 2024 5:28 pm In case something got misunderstood: PSA = Public Service Announcement
Thanks Eadwine, that's exactly what it's supposed to mean :)