Setting locale failed

Jika anda set negara sebagai Malaysia semasa pemasangan Ubuntu, setiap kali memasang pakej anda terlihat mesej berikut

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_US:en",
	LC_ALL = (unset),
	LC_TIME = "ms_MY.UTF-8",
	LC_MONETARY = "ms_MY.UTF-8",
	LC_ADDRESS = "ms_MY.UTF-8",
	LC_TELEPHONE = "ms_MY.UTF-8",
	LC_NAME = "ms_MY.UTF-8",
	LC_MEASUREMENT = "ms_MY.UTF-8",
	LC_IDENTIFICATION = "ms_MY.UTF-8",
	LC_NUMERIC = "ms_MY.UTF-8",
	LC_PAPER = "ms_MY.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_ALL to default loc
le: No such file or directory

Penyelesaiannya:

$ sudo locale-gen ms_MY.UTF-8
Generating locales...
ms_MY.UTF-8... done
Generation complete.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Leave a Reply

Your email address will not be published. Required fields are marked *