You are not logged in.

#1 2012-02-01 08:52:34

ArchNoob11
Member
Registered: 2012-02-01
Posts: 2

[Solved] Bash setlocale errors on boot

Hi guys,
First post so please be gentle!

After installing I had some issues updating, so I followed the advice here and rm-ed locale.sh, which allowed the pacman update to go through. However now when I boot I get:

-bash: warning: setlocale: LC_CTYPE: cannot change locale (en_us.UTF-8): No such file or directory
-bash: warning: setlocale: LC_NUMERIC: cannot change locale (en_us.UTF-8): No such file or directory
-bash: warning: setlocale: LC_TIME: cannot change locale (en_us.UTF-8): No such file or directory
-bash: warning: setlocale: LC_COLLATE: cannot change locale (en_us.UTF-8): No such file or directory
-bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_us.UTF-8): No such file or directory

So I think I need to do locale-gen, and it seems to work and I get:

[root@alarm ~]# locale-gen
Generating locales...
  en_US.UTF-8... done
  en_US.ISO-8859-1... done
Generation complete.

But when I reboot I get the same errors again, what do I need to do?
Thanks in advance.

Last edited by ArchNoob11 (2012-02-02 10:05:39)

Offline

#2 2012-02-01 13:00:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Bash setlocale errors on boot

Have you set up en_us.UTF-8 (with a lowercase 'us') in rc.conf? Try

LOCALE="en_US.UTF-8

Offline

#3 2012-02-02 08:38:46

ArchNoob11
Member
Registered: 2012-02-01
Posts: 2

Re: [Solved] Bash setlocale errors on boot

Thanks. I actually ended up reinstalling before I read your post but I think if I had done what you said it would have also fixed it.

Offline

#4 2012-02-13 07:10:17

schef
Member
Registered: 2009-04-16
Posts: 71

Re: [Solved] Bash setlocale errors on boot

In case that somebody has the same problem..i had one this morning..i realized that i had in my rc.conf LOCALE=="en_US.UTF-8" with two "=" signs..i don't know if that has anything to do with it..but now i dont have this messages any more..

STef

Offline

Board footer

Powered by FluxBB