[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Partially solved] Re: Locale errors




On Apr 13, 2009, at 6:39 PM, Vincent Lefevre wrote:

On 2009-04-13 15:14:36 -0400, Rick Thomas wrote:
rbthomas@greybox:~$ locale
LANG=C
LANGUAGE=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
rbthomas@greybox:~$

The problem started after a recent bunch of upgrades.  I have no good
way of telling which one caused it.

The above output is normal. I don't understand your problem.

The problem is that if I remove the lines setting LANG and LANGUAGE from /root/.bashrc
I get the following when I enter superuser via "sudo -i" ...

rbthomas@greybox:~$ sudo -i
greybox:~# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG="C"
LANGUAGE="C"
LC_CTYPE=""C""
LC_NUMERIC=""C""
LC_TIME=""C""
LC_COLLATE=""C""
LC_MONETARY=""C""
LC_MESSAGES=""C""
LC_PAPER=""C""
LC_NAME=""C""
LC_ADDRESS=""C""
LC_TELEPHONE=""C""
LC_MEASUREMENT=""C""
LC_IDENTIFICATION=""C""
LC_ALL=
greybox:~#


However, if I enter superuser via "sudo su -" I get ...

rbthomas@greybox:~$ sudo su -
greybox:~# locale
LANG=C
LANGUAGE=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
greybox:~#


Curiouser and curiouser...


Rick


Reply to: