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!
Thursday, November 3, 2016
Subscribe to:
Posts (Atom)
Second monitor no display after latest update - KDE-neon
After latest update as of Oct 3, 2023, my second monitor was undetected with latest kernel (6.2.0-33-generic). If I boot with previous kern...
-
I've installed latest squid (3.2.0.3) recently from source. I configured it with --with-icmp to enable incoming icmp request. After com...
-
Linux bash history with Page up / Page down In linux you can configure the pgup/pgdown keys to navigate through commands you typed that...
-
postfix is my MTA of choice. I use it for my mailserver because its simplicity , security and sendmail-compatible (the widely used smtp in...