You are not logged in.

#1 2024-08-20 10:05:47

itarill
Member
Registered: 2020-06-03
Posts: 59

[Solved] Locale issues after installation

For my first time, I have installed Arch using the archinstall way. Checking the journals, I see these all over the place:

 Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8 

As well as these after every pacman transaction:

:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Performing snapper post snapshots for the following configurations...
Failed to set locale.
==> root: 40

Here's some info:

 ~$ cat /etc/locale.conf 
LANG=en_US.UTF-8
 ~$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=hu_HU.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Last edited by itarill (2024-08-20 12:55:04)

Offline

#2 2024-08-20 11:56:53

Awebb
Member
Registered: 2010-05-06
Posts: 6,662

Re: [Solved] Locale issues after installation

This thread looks similar: https://bbs.archlinux.org/viewtopic.php?id=288978

Read this: https://wiki.archlinux.org/title/Locale … ng_locales

Short: Uncomment the locale(s) you want in /etc/locale.gen and run locale-gen as root.

Offline

#3 2024-08-20 12:56:02

itarill
Member
Registered: 2020-06-03
Posts: 59

Re: [Solved] Locale issues after installation

Thanks. It did solve the issue.

I wonder where I made the mistake with the archinstall.

Offline

Board footer

Powered by FluxBB