Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: strajder on 06 February 2021, 01:29:00

Title: [SOLVED] Version GLIBC_2.33 not found
Post by: strajder on 06 February 2021, 01:29:00
After a recent Artix update (I update daily), my system is mostly unusable. Connman (among many other programs, including X) is giving the error:

Code: [Select]
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?
Title: Re: Version GLIBC_2.33 not found
Post by: strajder on 06 February 2021, 01:49:58
This is my pacman.log:

(https://i.imgur.com/cLBc2C0.jpg)
Title: Re: Version GLIBC_2.33 not found
Post by: zippy99 on 06 February 2021, 02:11:26
cd /var/cache/pacman/pkg
sudo pacman -U glib2-2.66.4-2-x86_64.pkg.tar.zst
Title: Re: Version GLIBC_2.33 not found
Post by: greggyb on 06 February 2021, 02:12:45
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

Code: [Select]
[gremlins]
Include = /etc/pacman.d/mirrorlist

After that you can update glibc:

Code: [Select]
# pacman -S glibc
Title: Re: Version GLIBC_2.33 not found
Post by: zippy99 on 06 February 2021, 02:21:48
update dissapeared?

sudo pacman -S glibc
avertisment: glibc-2.32-5 este actualizat
Title: Re: Version GLIBC_2.33 not found
Post by: Ahahziah77 on 06 February 2021, 02:45:44
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.

Title: Re: Version GLIBC_2.33 not found
Post by: zippy99 on 06 February 2021, 02:50:23
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
Title: Re: Version GLIBC_2.33 not found
Post by: Dudemanguy on 06 February 2021, 02:58:49
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.
Title: Re: Version GLIBC_2.33 not found
Post by: Ahahziah77 on 06 February 2021, 02:59:30
That worked and let me back in......thank you SO much
Title: Re: Version GLIBC_2.33 not found
Post by: tomatoman on 06 February 2021, 03:07:15
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?
Title: Re: Version GLIBC_2.33 not found
Post by: zippy99 on 06 February 2021, 03:15:42
https://pkgbuild.com/~eschwartz/repo/x86_64/glib2-2.66.4-2.1-x86_64.pkg.tar.zst
Title: Re: Version GLIBC_2.33 not found
Post by: Dudemanguy on 06 February 2021, 03:25:15
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?

If you resync the mirror (pacman -Sy), you can install glib2 again (pacman -S glib2) which should be at 2.66.4-2 again.
Title: Re: Version GLIBC_2.33 not found
Post by: zippy99 on 06 February 2021, 03:40:10
he hasn't network access if restarts nor a terminal opening to issue commands even before restarting... try from tty
Title: Re: Version GLIBC_2.33 not found
Post by: tomatoman on 06 February 2021, 04:08:27
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.
Title: Re: Version GLIBC_2.33 not found
Post by: Oltean on 06 February 2021, 08:39:17
Another way to downgrade your pacage is:

#pacman -Syyuu

yy - force resync mirrors
uu - force downgrade packages with wrong version
Title: Re: Version GLIBC_2.33 not found
Post by: alium on 06 February 2021, 09:59:21
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
Title: Re: Version GLIBC_2.33 not found
Post by: woland7 on 19 February 2021, 19:12:08
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
Title: Re: Version GLIBC_2.33 not found
Post by: alium on 19 February 2021, 21:58:10
Glibc-2.33 is in repo 1-2 weeks. You should not downgrade but upgrade. Maybe is your mirror outdated.  Use another mirror.
Title: Re: Version GLIBC_2.33 not found
Post by: Hupernikao on 05 March 2021, 17:07:38
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?
Title: Re: Version GLIBC_2.33 not found
Post by: strajder on 05 March 2021, 17:25:39
I installed Artix from a cinnamon image recently without any problems. Just do
Code: [Select]
$ su
# pacman -Syyu
Title: Re: Version GLIBC_2.33 not found
Post by: Dudemanguy on 05 March 2021, 17:40:36
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?

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.
Title: Re: Version GLIBC_2.33 not found
Post by: Hupernikao on 05 March 2021, 17:44:53
I installed Artix from a cinnamon image recently without any problems. Just do
Code: [Select]
$ su
# pacman -Syyu

So since it was a fresh install I just did it all again and followed your advice. This worked

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.

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
Title: Re: [SOLVED] Version GLIBC_2.33 not found
Post by: Quantumrider on 14 March 2021, 14:57:10
I have this problem right now on crispy fresh install of Xfce.

I'm trying to install pomac and can't even update anymore
Title: Re: [SOLVED] Version GLIBC_2.33 not found
Post by: alium on 14 March 2021, 15:19:23
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?
Title: Re: [SOLVED] Version GLIBC_2.33 not found
Post by: Quantumrider on 14 March 2021, 15:37:06
 Xfce distro, might have been from weekly pool, damn, I'm reinstalling now
Title: Re: [SOLVED] Version GLIBC_2.33 not found
Post by: alium on 14 March 2021, 15:46:54
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)
Title: Re: [SOLVED] Version GLIBC_2.33 not found
Post by: nous on 14 March 2021, 21:15:38
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/).
Title: Re: [SOLVED] Version GLIBC_2.33 not found
Post by: strajder on 15 March 2021, 06:56:36
I have this problem right now on crispy fresh install of Xfce.

I'm trying to install pomac and can't even update anymore
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.
Title: Re: [SOLVED] Version GLIBC_2.33 not found
Post by: Flogger on 17 September 2022, 10:00:22
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 :)
Title: Re: [SOLVED] Version GLIBC_2.33 not found
Post by: artoo on 17 September 2022, 13:01:58
If you use AUR packages, it is your responsibility to rebuild them if some library had a version bump.
Title: Re: [SOLVED] Version GLIBC_2.33 not found
Post by: Flogger on 17 September 2022, 17:12:46
YAY!
That worked :)
Thanks!