error message: “Setting locale failed”
If you get an error message like below.
perl: warning: Setting locale failed.
perl: warning: Please check that your locales settings:
LANGUAGE = "en_JP:en",
LC_ALL = (unset),
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
Its because of not installing the language package or language installation problem. You have to install the language which you need. For it’s english, so I installed the package language-pack-en.
sudo apt-get install --reinstall language-pack-en
Posted by Shahid