You are not logged in.

#1 2023-10-10 15:54:02

fschmitt
Member
Registered: 2023-10-10
Posts: 11

[solved] pacman fails to update because of glibc-2.38

Hey everyone,
I installed a couple of packages recently, and now when I try to update, there's a conflict regarding glibc (locale files already exist in filesystem) and pacman doesn't update anything. I have no idea what exactly is causing the conflict.
https://pastebin.com/BUW2fm6Z here's my command line output what happens after I update
Does anyone have an idea what could cause the problem, and how it could be resolved?
Thank you! :)

Last edited by fschmitt (2023-10-10 19:56:45)

Offline

#2 2023-10-10 16:32:48

ajgringo619
Member
Registered: 2023-05-06
Posts: 40

Re: [solved] pacman fails to update because of glibc-2.38

Try sudo pacman -Syu instead.

Offline

#3 2023-10-10 16:36:56

fschmitt
Member
Registered: 2023-10-10
Posts: 11

Re: [solved] pacman fails to update because of glibc-2.38

That is what I originally tried. Same thing.
https://pastebin.com/4DaQ1w9N

Offline

#4 2023-10-10 16:47:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,042

Re: [solved] pacman fails to update because of glibc-2.38

glibc-locales is an optional package for the cases in which you want all the locales generated already. What did you already have all of these locales for? If you really think you want and need that, this is likely one of those cases where an --overwrite glob is fine to do: https://wiki.archlinux.org/title/Pacman … )%22_error

Offline

#5 2023-10-10 17:46:13

fschmitt
Member
Registered: 2023-10-10
Posts: 11

Re: [solved] pacman fails to update because of glibc-2.38

I tried "sudo pacman -S --overwrite glob glibc-locales", "sudo pacman -Syu --overwrite glob glibc-locales" and "sudo pacman -Syu --overwrite glob glibc glibc-locales", and still keep getting the same error

Offline

#6 2023-10-10 18:01:14

loqs
Member
Registered: 2014-03-06
Posts: 18,780

Re: [solved] pacman fails to update because of glibc-2.38

What about?

sudo pacman -S --overwrite '/usr/lib/locale/*/*' glibc glibc-locales

Offline

#7 2023-10-10 18:05:06

fschmitt
Member
Registered: 2023-10-10
Posts: 11

Re: [solved] pacman fails to update because of glibc-2.38

Yesss that worked. Thank you so much. I realized that I could also rename all the files, so I was trying to write a bash script which automatically renames the files, but as I've never really done any bash, it's pretty complicated. But your solution seems to have worked, thank you!

Offline

#8 2023-10-10 18:07:05

loqs
Member
Registered: 2014-03-06
Posts: 18,780

Re: [solved] pacman fails to update because of glibc-2.38

Please remember to do a `pacman -Syu` now that the issue is resolved so that the packages and databases are not out of sync.

Offline

#9 2023-10-10 18:08:15

fschmitt
Member
Registered: 2023-10-10
Posts: 11

Re: [solved] pacman fails to update because of glibc-2.38

I already did. That was the original point. But thanks for the reminder smile

Offline

#10 2023-10-10 19:39:06

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,092

Re: [solved] pacman fails to update because of glibc-2.38

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

And fyi, https://en.wikipedia.org/wiki/Globbing

Offline

Board footer

Powered by FluxBB