this post was submitted on 07 Dec 2025
56 points (98.3% liked)

Linux

60659 readers
254 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
56
submitted 4 weeks ago* (last edited 4 weeks ago) by pewpew@feddit.it to c/linux@lemmy.ml
 

I've been trying the COSMIC store and it looks like it killed my apt somehow. Apt says that there is a version mismatch between some libc6 packages, but I checked with dpkg and it all looks correct.

Apt says that I've a newer version of some packages but that is not true. Is there any way to fix this?

EDIT: Fixed formatting

top 31 comments
sorted by: hot top controversial new old
[–] markz@suppo.fi 16 points 4 weeks ago

Came here expecting it to be about someone listening to your package installs

[–] cryptix@discuss.tchncs.de 7 points 4 weeks ago (1 children)
[–] monovergent@lemmy.ml 13 points 4 weeks ago (2 children)

Can also endorse aptitude, but hopefully OP already has it installed prior to this issue. May have to manually install using dpkg if not. Whenever I run into issues like this, aptitude solves it 95% of the time, makes regular apt look like a baby helplessly crying.

[–] pewpew@feddit.it 4 points 4 weeks ago (1 children)

Somehow I can't even install aptitude trough dpkg because it says that the filesystem is read-only

[–] kcuf@lemmy.world 13 points 4 weeks ago (1 children)

Sounds like your hard drive may be dying.

[–] pewpew@feddit.it 10 points 4 weeks ago

No, I just figured it out. I had to enable a systemd service to test Cosmic. I have disabled it and now dpkg works and I manually installed Aptitude with its dependencies.

I tried to do an upgrade with Aptitude but it won't do anything. I'll look into it more later

[–] pewpew@feddit.it 3 points 3 weeks ago

That fixed it, thank you so much!

[–] Black616Angel@discuss.tchncs.de 6 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

Try all the cleanup commands, so:

apt autoremove; apt clean; apt autoclean; apt update

Then reboot and try again.

But yes, it looks weird.

[–] pewpew@feddit.it 5 points 4 weeks ago (1 children)

Just did all of them and rebooted. No luck

[–] Black616Angel@discuss.tchncs.de 7 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

Okay, I've read into your post a bit more and something is fishy. You have libc6 for different CPU-architectures installed.

Programs for i368 and amd64 should not be installed on the same machine. The error probably stems from that.

Run the following to find out the architecture:

uname -p

If it says 'x86_64' then it's amd64 and if it's something like 'i368’ then it's that. Otherwise, your system might be really borked...

And then remove the wrong one.

[–] TechnoCat@piefed.social 7 points 4 weeks ago* (last edited 4 weeks ago)

FWIW, installing steam used to also install both architectures on my Fedora machine. I use the flatpak version now because it kept causing conflicts years ago.

[–] digdilem@lemmy.ml 6 points 4 weeks ago (1 children)

Has it added repos that are conflicting with your distro's main ones?

Check /etc/apt/sources.list and all the files in /etc/apt/sources.list.d/

Move anything that looks sus to somewhere else and then "apt-get clean" and retry.

[–] pewpew@feddit.it 4 points 4 weeks ago

Nope. Sources look good. I just removed some I don't use anymore and then did an apt-get clean but it's still broken

[–] pewpew@feddit.it 4 points 4 weeks ago (1 children)

My best guess is that the Debian Unstable repository doesn't have all the libc6 packages updated to the same version. I might just have to wait and see what happens

[–] med@sh.itjust.works 3 points 3 weeks ago

Looks like that might have changed, libc-gconv-modules-extra has an i386 package for 2.42-5 added at like midnight UTC+1. Given the sources only update every 6 hours, might be you found an unlucky update in between?

Struggled to find a time for the release, but the changelog has one, unsure how true to package-available time that is:

glibc (2.42-5) unstable; urgency=medium

  [ Martin Bagge ]
  * Update Swedish debconf translation.  Closes: #1121991.

  [ Aurelien Jarno ]
  * debian/control.in/main: change libc-gconv-modules-extra to Multi-Arch:
    same as it contains libraries.
  * debian/libc6.symbols.i386, debian/libc6-i386.symbols.{amd64,x32}: force
    the minimum libc6 version to >= 2.42, to ensure GLIBC_ABI_GNU_TLS is
    available, given symbols in .gnu.version_r section are currently not
    handled by dpkg-shlibdeps.

 -- Aurelien Jarno <aurel32@debian.org>  Sat, 06 Dec 2025 23:02:46 +0100

glibc (2.42-4) unstable; urgency=medium

  * Upload to unstable.

 -- Aurelien Jarno <aurel32@debian.org>  Wed, 03 Dec 2025 23:03:48 +0100
[–] stupid_asshole69@hexbear.net 4 points 4 weeks ago (1 children)

I gotta ask this:

What’s the output of apt —fix-broken install, like the big red error message suggests?

I also gotta ask:

What distribution and release?

[–] pewpew@feddit.it 2 points 4 weeks ago (1 children)

What’s the output of apt —fix-broken install, like the big red error message suggests?

You can see it in the post image. I'm using Debian Unstable

[–] stupid_asshole69@hexbear.net 1 points 4 weeks ago* (last edited 3 weeks ago) (1 children)

Good looking out. I only saw the one inline with your post body.

You’re on sid, using cosmic and have a read only root filesystem. Is there anything else out of the ordinary with your computer? You replied to another post that you removed additional repos from sources but did you get the ones in sources.d/?

E: sources.list.d, not sources.d

[–] pewpew@feddit.it 1 points 3 weeks ago (1 children)

Correction: My filesystem is not read only. Dpkg can install .deb packages just fine

My guess is that I tried to update packages in a specific time that there was a dependency issue in the Debian Unstable repository.

Cosmic actually compiled and installed perfectly and the system still works and runs stable. It is a problem with Apt

[–] stupid_asshole69@hexbear.net 1 points 3 weeks ago

Sid is a real pain in the butt.

[–] nil@piefed.ca 4 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I suggest you install the stable version (since stability and predictability are the main features of Debian). If you need the latest packages go Arch (or any other rolling-release distro).

[–] pewpew@feddit.it 1 points 3 weeks ago (1 children)

I've been using Debian Unstable for about one year since I wanted Plasma 6 so bad. Even after Trixie came out I didn't switch back to Stable because it runs good and gets frequent updates.

The experience was actually quite smooth, better than what my friend has with Kubuntu, which for every distro update has a 50% chance of breaking

[–] nil@piefed.ca 1 points 3 weeks ago* (last edited 3 weeks ago)

I once tried to backport a package on Debian stable because I really wanted to run xwayland-satellite on Niri and I ended up breaking the system. I was using stable debian as-is since then, before switching to Arch.

[–] taaz@biglemmowski.win 3 points 4 weeks ago (1 children)

did you apt update beforehand ? it is weird that it's trying to install lower level libc6

[–] pewpew@feddit.it 2 points 4 weeks ago

I regularly update using a macro in the terminal that just runs sudo apt update && sudo apt upgrade but this time I decided to install an update via the COSMIC store

[–] bizdelnick@lemmy.ml 2 points 4 weeks ago (1 children)

What does dpkg --print-foreign-architectures say?

[–] pewpew@feddit.it 2 points 4 weeks ago
[–] pastermil@sh.itjust.works 2 points 3 weeks ago

Looks more like whatever repo you're trying out is bugged.

[–] MonkderVierte@lemmy.zip 2 points 4 weeks ago (1 children)
[–] pewpew@feddit.it 3 points 4 weeks ago
[–] melroy@kbin.melroy.org 0 points 3 weeks ago

This is a feature not a bug.