Today, during routine operation with GIT, among regular output of git pull command also weird message shows: perl: warning: Setting locale failed. Complete error was
perl: warning: Setting locale failed.perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "",
LC_PAPER = "sk_SK.UTF-8",
LC_ADDRESS = "sk_SK.UTF-8",
LC_MONETARY = "sk_SK.UTF-8",
LC_NUMERIC = "sk_SK.UTF-8",
LC_TELEPHONE = "sk_SK.UTF-8",
LC_COLLATE = "en_US.UTF-8",
LC_IDENTIFICATION = "sk_SK.UTF-8",
LC_MEASUREMENT = "sk_SK.UTF-8",
LC_TIME = "sk_SK.UTF-8",
LC_NAME = "sk_SK.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.perl: warning: Falling back to the standard locale ("C").
I start to google for the solution. First I tried to
sudo dpkg-reconfigure locales
Then
sudo locale-gen en_US
At the end just
LC_ALL=en_US.UTF-8
After last step problem gone. I would say only last step really solves the problem.