로케일의 아치 이상한 오류 메시지

로케일의 아치 이상한 오류 메시지

Arch를 실행하는 시스템이 있고 괜찮은 것 같지만 다음과 같은 메시지가 계속 나타납니다.man: can't set the locale; make sure $LC_* and $LANG are correct

실행하면 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_AU.UTF-8
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=

모든 것이 괜찮아 보입니다. LC_CTYPE등 모든 것이 설정되었습니다.


locale-gen아무런 차이가 없는 것 같고 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
POSIX

locale -a내 로케일은 /etc/locale.gen괜찮아 보이고 작동하지만 분명히 포함되지 않습니다 locale-gen. 삭제 LANG하고 다시 실행하니 이제 괜찮아지네요.

답변1

locale-gen누락된 디렉터리를 생성하려면 명령을 실행해야 하는 것 같습니다 .

https://wiki.archlinux.org/index.php/locale

관련 정보