If you have error like the following:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
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 a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
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 a fallback locale ("en_US.UTF-8").
The solution is to run this command:
sudo locale-gen en_US en_US.UTF-8 ms_MY ms_MY.UTF-8
The output :
Generating locales (this might take a while)...
en_US.ISO-8859-1... done
en_US.UTF-8... done
ms_MY.ISO-8859-1... done
ms_MY.UTF-8... done
Generation complete.
Run the command that produce the error. The error should not appear again.
That's all there is to it. Have fun!
Subscribe to:
Post Comments (Atom)
Nvidia new hotplug feature on Linux
If you use nvidia driver for your GPU, you probably wonder why in some config, you can't hotplug your second monitor. You need to reboo...
-
queuegraph is a very simple mail statistics RRDtool frontend for Postfix that produces daily, weekly, monthly and yearly graphs of Postfix...
-
postfix is my MTA of choice. I use it for my mailserver because its simplicity , security and sendmail-compatible (the widely used smtp in...
-
Recently, my server's only hard disk was almost full. I bought a new hard disk with bigger size and I decided to just add it as a second...
No comments:
Post a Comment