[bastien@mongolia ~]$ cat /etc/locale.conf
LANG=fr_FR.UTF-8
LC_COLLATE=C
[bastien@mongolia ~]$ doas pacman -Syu
doas (bastien@mongolia) password:
:: Synchronizing package databases...
system is up to date
world is up to date
galaxy is up to date
lib32 is up to date
:: Starting full system upgrade...
there is nothing to do
[bastien@mongolia ~]$ sudo pacman -Syu
[sudo] Mot de passe de bastien :
:: Synchronisation des bases de données de paquets…
system est à jour
world est à jour
galaxy est à jour
lib32 est à jour
:: Début de la mise à jour complète du système…
il n’y a rien à faire
:/ ??
Hello,
My /etc/locale.conf as it was configured during system installation (calamares):
cat /etc/locale.conf
LANG=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
Unfortunately it doesn't change anything for doas... :(
I pass LANG via setenv option in doas.conf
Read the Note from here (https://wiki.archlinux.org/title/Doas#Smooth_transition_sudo_to_doas), it seems this is your case. I have a line in
/etc/doas.conf that makes everything work
permit persist setenv { XAUTHORITY LANG LC_ALL } :wheel
Ah yes! I didn't see it...
Thanks a lot! :D