After a recent Artix update (I update daily), my system is mostly unusable. Connman (among many other programs, including X) is giving the error:
connmanctl: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/libglib-2.0.so.0)
Anything I can do to fix this besides reinstallation from boot USB?
This is my pacman.log:
(https://i.imgur.com/cLBc2C0.jpg)
cd /var/cache/pacman/pkg
sudo pacman -U glib2-2.66.4-2-x86_64.pkg.tar.zst
The current glibc in `system` is 2.32, but it appears that a number of packages have been compiled against 2.33. You can get glibc 2.33 from `gremlins`.
Assuming you have a standard configuration for pacman, you can edit /etc/pacman.conf to include lines like below to enable `gremlins`. Then you can install 2.33
[gremlins]
Include = /etc/pacman.d/mirrorlist
After that you can update glibc:
# pacman -S glibc
update dissapeared?
sudo pacman -S glibc
avertisment: glibc-2.32-5 este actualizat
Im running into same/similar issue. I updated the system using pacman -Syu. After the update, none of my programs would work so i made the mistake of rebooting the system. Now the system wont start up and after the ASCII A is displayed, i get an endless loop of...
sys-log-ng: /usr/lib/libc.so.6: version 'GLIBC_2.33' not found (required by /usr/lib/libglib-2.0.so.0)
sddm: /usr/lib/libc.so.6: version 'GLIBC_2.33' not found (required by /usr/lib/libglib-2.0.so.0)
Any advice would be greatly appreciated.
change tty (alt-fx) and log in
revert to previous version:
cd /var/cache/pacman/pkg
sudo pacman -U glib2-2.66.4-2-x86_64.pkg.tar.zst
Apologies to everyone who was bit by this. A bad version of glib2 that was linked against glibc 2.33 (testing version) was pushed. The offending glib2 package has been removed from the repos. For those that are affected, downgrade your glib2 package as zippy has suggested.
That worked and let me back in......thank you SO much
Id love to downgrade but for some reason I do not have the previous version from which I upgraded (2.66.4-2). I only have the current version (2.66.6-1). I have been awake for a very long time. I'm looking in /var/cache/pacman/pkg/. My brain isnt working, am I in the wrong spot?
https://pkgbuild.com/~eschwartz/repo/x86_64/glib2-2.66.4-2.1-x86_64.pkg.tar.zst
If you resync the mirror (pacman -Sy), you can install glib2 again (pacman -S glib2) which should be at 2.66.4-2 again.
he hasn't network access if restarts nor a terminal opening to issue commands even before restarting... try from tty
hey guys, so ill give a quick update, I've manged to downgrade with the package given by zippy (thanks dude, lifesaver). I wasnt able to do much. I was using i3 and after the upgrade, i3 suddenly started falling apart. When I tried to reload, I got stuck on a black screen and had to cold reboot. When I got back in, networkmanager was not working so while I had a console I couldnt do anything with internet. Maybe there was a way around it but ive been delivering actual, physical packages for like 18 hours so I think its okay that I dont know atm. I managed to transfer the package from another device onto the system and from there the downgrade was smooth.
What a day. I'm gonna go back to watching moomin valley now, thanks for everybody's help.
Another way to downgrade your pacage is:
#pacman -Syyuu
yy - force resync mirrors
uu - force downgrade packages with wrong version
glibc 2.33 is now in core (Archlinux), within 1-2 hours it should be in the core repo with us (when the maintainer is online) .
no need downgrade anymore, just wait for mirror sync
I've got a problem though. It broke my pacman and I can't even downgrade.
I get pacman: /usr/lib/libc.so:6: version 'GLIBC_2.33' not found (required by pacman) whenever I try any pacman command
Glibc-2.33 is in repo 1-2 weeks. You should not downgrade but upgrade. Maybe is your mirror outdated. Use another mirror.
This has been marked as solved but I just installed from a fresh Artix plasma iso and after running `sudo pacman -Sy` if I want to do anything with pacman I get GLIBC_2.33 not found. Does anyone know why this would be?
I installed Artix from a cinnamon image recently without any problems. Just do
$ su
# pacman -Syyu
That depends on what you did exactly. pacman -Sy updates your entire database so if you install things afterwards with that, it will install packages compiled against glibc 2.33. That can cause errors. The solution in this case, would be to do a full upgrade. You should not do partial upgrades as they are not supported and can lead to linking errors like this.
So since it was a fresh install I just did it all again and followed your advice. This worked
I think this was my problem.
I am still new to the arch world coming from linux mint so I am not very familiar with pacman. Thanks for being so quick and helpful
I have this problem right now on crispy fresh install of Xfce.
I'm trying to install pomac and can't even update anymore
you broke system completely... congratulation...
try set another mirror, but i don't think, that help...
you can theoretically downlaod glibc 2.33 from https://archive.artixlinux.org/packages/g/glibc/ and copy it from archive .tar.xz manually to your system. which is totally non-standard, can do another troubles, but it can help to fix pacman.
which ISO you used?
Xfce distro, might have been from weekly pool, damn, I'm reinstalling now
weekly ISO should be have newest pacman and glibc installed, it should be works normally, so it should be not update. if you will be not sure with update, put here some outputs (like as is the whole listing of update packages, before updated , maybe wrong mirror was selected before)
A good practice is to keep pacman-static installed. It'll save your ass butt if (read: when) you break your system. Get it from Eli Schwartz's unofficial repository (https://pkgbuild.com/~eschwartz/repo/x86_64/).
Crispy fresh install shouldn't have any problems.
pacman -Syyu should be the literal first thing you do immediately after you install and log into the installed system.
Hi!
Sorry for reopening this solved topic, but i have a similar problem.
I am using artix linux with LXQT desktop enviroment and recently when i tried to use yay command and i got a message
yay: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by yay)
I tried
sudo pacman -S glib2
command and got:
warning: glib2-2.70.2-2 is up to date -- reinstalling
So, as far as i can see i have newer version of GLIBC installed and i still cant use yay, or timeshift commands.
I also ran: pacman-conf
And the output was
[options]
RootDir = /
DBPath = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
HookDir = /etc/pacman.d/hooks/
GPGDir = /etc/pacman.d/gnupg/
LogFile = /var/log/pacman.log
HoldPkg = pacman
HoldPkg = glibc
Architecture = x86_64
CheckSpace
ParallelDownloads = 1
CleanMethod = KeepInstalled
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
LocalFileSigLevel = PackageOptional
LocalFileSigLevel = PackageTrustedOnly
[system]
Usage = All
Server = http://archive.artixlinux.org/repos/2022/01/23/system/os/x86_64
[world]
Usage = All
Server = http://archive.artixlinux.org/repos/2022/01/23/world/os/x86_64
[galaxy]
Usage = All
Server = http://archive.artixlinux.org/repos/2022/01/23/galaxy/os/x86_64
[lib32]
Usage = All
Server = http://archive.artixlinux.org/repos/2022/01/23/lib32/os/x86_64
[extra]
Usage = All
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
Server = http://archive.archlinux.org/repos/2022/01/23/extra/os/x86_64
[community]
Usage = All
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
Server = http://archive.archlinux.org/repos/2022/01/23/community/os/x86_64
[universe]
Usage = All
Server = http://universe.artixlinux.org/x86_64
Server = http://mirror1.artixlinux.org/universe/x86_64
Server = http://mirror.pascalpuffke.de/artix-universe/x86_64
Server = http://artixlinux.qontinuum.space/artixlinux/universe/os/x86_64
Server = http://mirror1.cl.netactuate.com/artix/universe/x86_64
Server = http://ftp.crifo.org/artix-universe/
Did anybody have similar problem or know how to fix it?
Thanks in advance :)
If you use AUR packages, it is your responsibility to rebuild them if some library had a version bump.
YAY!
That worked :)
Thanks!