If you ssh from a linux machine with non-english locale setting to a server with English locale you will probable will see error like this:
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "bg_BG.UTF-8",
LC_MONETARY = "bg_BG.UTF-8",
LC_ADDRESS = "bg_BG.UTF-8",
LC_TELEPHONE = "bg_BG.UTF-8",
LC_NAME = "bg_BG.UTF-8",
LC_MEASUREMENT = "bg_BG.UTF-8",
LC_IDENTIFICATION = "bg_BG.UTF-8",
LC_NUMERIC = "bg_BG.UTF-8",
LC_PAPER = "bg_BG.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").
locale: Cannot set LC_ALL to default locale: No such file or directory
I found two ways to fix this:
Continue reading “Linux ssh locale error | Can’t set locale; make sure $LC_* and $LANG are correct!”
