You are not logged in.

#1 2022-08-22 17:07:56

txnintn
Member
Registered: 2022-08-21
Posts: 3

SOLVED: Locale environment issues

I'm moving to Arch Linux on all my systems.
I have done clean installs with Arch 86_64, Xorg, and Xfce4 on two systems.

My troubleshooting steps are:
Setting system local: localectl set-locale LANG=en_US.UTF-8

# Configuration file for locale-gen
#
# lists of locales that are to be generated by the locale-gen command.
#
# Each line is of the form:
#
#     <locale> <charset>
#
#  where <locale> is one of the locales given in /usr/share/i18n/locales
#  and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
#
#  Examples:
#  en_US.UTF-8 UTF-8
#  de_DE ISO-8859-1
#  de_DE@euro ISO-8859-15
#
#  The locale-gen command will generate all the locales,
#  placing them in /usr/lib/locale.
#
#  A list of supported locales is included in this file.
#  Uncomment the ones you need.

en_US.UTF-8 UTF-8 
en_US ISO-8859-1

Ran locale-gen

#locale.conf
LANG=en_us.UTF-8

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
C.UTF-8
POSIX
en_US
en_US.iso88591
en_US.utf8

I have reninstalled glibc on both system with no change in the results.

Last edited by txnintn (2022-08-22 18:03:05)

Offline

#2 2022-08-22 17:25:51

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: SOLVED: Locale environment issues

Case matter in Linux. en_us and en_US are not the same thing.

Offline

#3 2022-08-22 17:50:05

txnintn
Member
Registered: 2022-08-21
Posts: 3

Re: SOLVED: Locale environment issues

Weird

One down one to go...?

locale -a

C
C.UTF-8
en_US
en_US.iso88591
en_US.utf8
POSIX

Offline

#4 2022-08-22 18:00:13

txnintn
Member
Registered: 2022-08-21
Posts: 3

Re: SOLVED: Locale environment issues

Thanks, both are good to go.

Offline

Board footer

Powered by FluxBB