B
blendOS3w ago
tolga

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 this
Solution:
- 'locale-gen en_AU.UTF-8' - 'sudo localedef -i en_AU -f UTF-8 en_AU.UTF-8'...
Jump to solution
9 Replies
Asterisk
Asterisk3w ago
Can I see your /etc/locale.gen?
tolga
tolgaOP3w ago
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
Asterisk
Asterisk3w ago
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
tolga
tolgaOP3w ago
ok how to regen??
Valkyrja
Valkyrja3w ago
@tolga, you've gained the level 1
Asterisk
Asterisk3w ago
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’
tolga
tolgaOP3w ago
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
tolga
tolga3w ago
- 'locale-gen en_AU.UTF-8' - 'sudo localedef -i en_AU -f UTF-8 en_AU.UTF-8'
tolga
tolgaOP3w ago
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

Did you find this page helpful?