My Science Is Better

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 :)

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.

Tag Cloud

Categories

Archives

Akismet

Blogroll

Ads