locale errors
r/lib/initcpio/functions: line 845: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
/usr/lib/initcpio/functions: line 845: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
/usr/lib/initcpio/functions: line 845: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
/usr/lib/initcpio/functions: line 845: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
/usr/lib/initcpio/functions: line 845: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
/usr/lib/initcpio/functions: line 845: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
/usr/lib/initcpio/functions: line 845: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
/usr/lib/initcpio/functions: line 1019: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
/usr/lib/initcpio/functions: line 1019: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
/usr/lib/initcpio/functions: line 845: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
/usr/lib/initcpio/functions: line 845: warning: setlocale: LC_ALL: cannot change locale (en_AU.UTF-8): No such file or directory
i get this alot on every rebuild, i have no idea, anyone have a solution for thisSolution:Jump to solution
- 'locale-gen en_AU.UTF-8'
- 'sudo localedef -i en_AU -f UTF-8 en_AU.UTF-8'...
9 Replies
Can I see your /etc/locale.gen?
en_US.UTF-8 UTF-8
de_DE.UTF-8 UTF-8
fr_FR.UTF-8 UTF-8
es_ES.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8
ja_JP.UTF-8 UTF-8
ru_RU.UTF-8 UTF-8
ar_EG.UTF-8 UTF-8
it places them automatically, i only wanted australia
export LANG=en_AU.UTF-8
export LC_ALL=en_AU.UTF-8
dosnt work either
You can’t set that if the locale isn’t generated
You have to uncomment the respective line in /etc/locale.gen
And regenerate locales
ok how to regen??
@tolga, you've gained the level
1
Sudo locale-gen
Reads /etc/locale.gen
If that doesn’t work right away add it to system.yaml as a command
add ‘locale-gen’
commands:
- 'locale-gen en_AU.UTF-8' ???????????//
Generating locales...
error: Bad entry 'en_AU.UTF-8 '
Generation complete.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-ze
going to try
Solution
- 'locale-gen en_AU.UTF-8'
- 'sudo localedef -i en_AU -f UTF-8 en_AU.UTF-8'
ok
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-zen-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
Generating locales...
en_AU.UTF-8... done
Generation complete.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-zen
rebooting ans see what starts to bleed
ok solved