Posted September 8, 2015 by rikad in Linux

Error Locales di Ubuntu 14.04/12.04 openvz templates

locae
locae

error terjadi ketika menjalankan command apapun …

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

atau

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “en_GB:en”,
LC_ALL = (unset),
LANG = “en_GB”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).

 

install ulangĀ  ‘language pack’ dengan sudo apt-get install –reinstall language-pack-en

jalankan locale-gen

lalu dpkg-reconfigure locales

terakhir jalankan locale-gen en_US.UTF-8


rikad