Sunday, August 5, 2007

perl: warning: Setting locale failed.

I was getting this error

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


and I did not know what to do.
Yahoo'd and found this link "http://www.linuxquestions.org/questions/showthread.php?t=574006"

needed to create this file "/etc/environment" in my debian etch. I do not know, why this file was not present. I had just bootstrapped and installed debian as dom1 in my xen installation.

within the file you needed this

LANGUAGE = en_US
LC_ALL = en_US
LANG = en_US
LC_TYPE = en_US


Note : besides, I tried to have this dpkg-reconfigure locale.. which ran but still gave the errors. dpkg-reconfigure localeconf, said I did not have the package, when trying to isntall, it said this package does not exist.

So still do not know the details, but I am rid of the issue..

No comments:

VIM issues with powerline

What to do if you get this annoying issue - vi requirements.txt ...