Installed Ubuntu Server Karmic just fine and noticed this perl error on the first “apt-get upgrade” i ran.
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
After a bit of looking around on the internets i found out the solution:
sudo apt-get install language-pack-en-base sudo dpkg-reconfigure locales
That’s it 🙂
I run into this all the time. Thanks for doing the legwork and posting the solution.
Thanks for posting this – it was much shorter than the other solutions around the web. However I noticed language-pack-en-base includes firefox-locale-en and language-pack-en. Perhaps `sudo apt-get install languagel-pack-en` would be sufficient and leaner?