9Dec/090
Repair Perl Locale Errors on Ubuntu Server
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