You are not logged in.
Pages: 1
Hello,
I was getting good chunk of errors each time I updated my system:
https://pastebin.com/JPTe2RUv
So I tried to regenerate locales and switching from en_GB to en_US following the wiki:
https://wiki.archlinux.org/title/Locale
I edited /etc/locale.gen
ran locale-gen
edited /etc/locale.conf and set language to en_US
After running this, my locales ended up being completely broken. Some applications which require locales set stopped working (they worked before).
My /etc/locale.gen:
https://pastebin.com/QtakUEMg
(only en_US is uncommented)
My /etc/locale.conf contains only one line:
LANG=en_US.UTF-8Output of locale -a:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIXAny help would be appreciated as some key programs stopped working due to broken locales, so I am pretty much unable to continue with work.
Thank you!
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
Offline
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
What is more worrying though, most of my programs show errors regarding locales and when I run "localectl list-locales", there is no output or better said, the output is absolutely blank
Last edited by othersamo_ (2022-05-06 17:38:36)
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
What happens, exactly, when you run locale-gen?
Offline
Offline
That's why I asked too see their pacman.conf. They don't have anything defined by NoExtract.
Offline
… but most likely have those locales frequently removed by bleachbit or similar … "tools" (1st link Tip hints at that) - the 2nd link is to show what to do instead.
If it was in NoExtract, the error would not be there itfp.
Offline
At the end I managed to fix it. Actually I checked in bleachbit which considered the locales as "broken system files".
What I did is just removed them, re-installed glibc and they seemed to be newly added.
Programs started to work again (those which depend on locales). I will see whether those warnings are still present on next update (check your proposals), so that's why I am not marking as solved yet...
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
I will see whether those warnings are still present on next update
If you keep using bleachshit…
Offline
I will see whether those warnings are still present on next update
If you keep using bleachshit…
How can that program affect system running?
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
It deletes files tracked by pacman. It won't break your locale, that was a different issue, but it will cause all of those warnings from pacman.
Offline
Ight, I will refrain from running it and stick to manual cleanup
"Why join the navy if you can be a pirate?"
- Steve Jobs
Offline
Pages: 1