You are not logged in.
Pages: 1
Hey, this is my first ever post on this forum, so if I'm doing something wrong in my explanation, feel free to let me know.
So, many applications on my still rather new arch install are having locale issues, for example perl.
the error:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = "de_US.UTF-8",
LC_ADDRESS = "en_US.UTF-8",
LC_CTYPE = "en_US.UTF-8",
LC_IDENTIFICATION = "en_US.UTF-8",
LC_MEASUREMENT = "en_US.UTF-8",
LC_MESSAGES = "en_US.UTF-8",
LC_MONETARY = "en_US.UTF-8",
LC_NAME = "en_US.UTF-8",
LC_NUMERIC = "en_US.UTF-8",
LC_PAPER = "en_US.UTF-8",
LC_TELEPHONE = "en_US.UTF-8",
LC_TIME = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
output of locale:
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_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="de_US.UTF-8"
LC_NUMERIC="de_US.UTF-8"
LC_TIME="de_US.UTF-8"
LC_COLLATE="de_US.UTF-8"
LC_MONETARY="de_US.UTF-8"
LC_MESSAGES="de_US.UTF-8"
LC_PAPER="de_US.UTF-8"
LC_NAME="de_US.UTF-8"
LC_ADDRESS="de_US.UTF-8"
LC_TELEPHONE="de_US.UTF-8"
LC_MEASUREMENT="de_US.UTF-8"
LC_IDENTIFICATION="de_US.UTF-8"
LC_ALL=de_US.UTF-8
What I already tried:
setting locale in locale.gen
running locale-gen, which gave a weird error but still kind of worked:
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (de_US.UTF-8)
Generating locales...
en_US.UTF-8... done
Generation complete.
I would really appreciate every help :)
Offline
Please wrap the outputs in [ code ] code tags[ /code ] without the spaces.
de_US is not a valid locale, this weird constellation sometimes happens with Plasma's regional settings sometime, go into system settings and ensure you have en_US selected both for the application language and the regional settings. However even a wrong setting there shouldn't unconditionally set LC_ALL either... what's your
cat /etc/locale.confor did you ever set LC_ALL=de_US.UTF-8 in some config file elsewhere?
Offline
Generating locales... en_US.UTF-8... done Generation complete.
LC_ALL: cannot change locale (de_US.UTF-8)
de_DE?
And you need to uncomment it in /etc/locale.gen
Edit: the anime ninjagirl. again. ![]()
Last edited by seth (2021-08-18 19:03:55)
Offline
So after i did the locale-gen thing again, removed some export LC_ALL=... in my zshrc and rebooted, it magically started working again ![]()
Sorry to waste you time here and thanks for the tip with the code ![]()
Offline
Pages: 1