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

Re: Locale problem

Am Fre, 2002-12-20 um 00.18 schrieb Eric Richardson:
> Hi,
> Just upgraded a box from potato to woody and I ran out of disk space and 
> then started to have this problem when ever perl gets called such as 
> installing something. I have not rebooted.
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> 	LANGUAGE = (unset),
> 	LC_ALL = (unset),
> 	LC_CTYPE = "",
> 	LANG = "english"
That can't work since "english" isn't a valid value for LANG

>       are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> I tried the suggestion from a thread in April with no avail.
> apt-get install localeconf
> dpkg-reconfigure locales
> Generating locales...
>    en_US.ISO-8859-1... done
>    en_US.UTF-8... done
> And left the language as "C"

Edit your /etc/environment and set LANG to "en_US" or to "C" (C works
for me).
Then log out and log back in and you should be fine.
Alternatively you can do an "export LANG=en_US" in the console to fix
the problem in the console you are in.



Matthias Hentges 
Cologne / Germany

[www.hentges.net] -> PGP welcome, HTML tolerated
ICQ: 97 26 97 4   -> No files, no URL's

My OS: Debian Woody: Geek by Nature, Linux by Choice

Reply to: