Saturday, January 9, 2010

Repair Perl Locale Errors

Thanks for this article , I was able to fix my perl locale errors on Karmic Koala.

Error Messages:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "en_US",
LC_CTYPE = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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


This is the solution:

sudo apt-get install language-pack-en-base
sudo dpkg-reconfigure locales

No comments:

Post a Comment