Locale

= Changing / Fixing the System Locale =

If you are “apt-get upgrade” etc. and you get something similar to 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"
   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

Here is what you need to do: apt-get remove locales apt-get install locales dpkg-reconfigure locales

Hope it works out ok. More info at:

http://www.linuxforums.org/forum/debian-linux-help/58751-locale-problem.html