Locale problem
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LCCOLLATE = "enUS",
LCTYPE = "enUS",
LCMESSAGES = "enUS",
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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
My /etc/default/locale file contains this:
File generated by update-locale
LANG="en_US.UTF-8"
LCTYPE="enUS"
LCMESSAGES="enUS"
LCCOLLATE="enUS"
/var/lib/locales/supported.d/en contains this:
en_HK.UTF-8 UTF-8
en_DK.UTF-8 UTF-8
en_IN UTF-8
en_ZW.UTF-8 UTF-8
en_NZ.UTF-8 UTF-8
en_PH.UTF-8 UTF-8
en_NG UTF-8
en_US.UTF-8 UTF-8
en_GB.UTF-8 UTF-8
en_AU.UTF-8 UTF-8
en_SG.UTF-8 UTF-8
en_BW.UTF-8 UTF-8
en_AG UTF-8
en_ZA.UTF-8 UTF-8
en_CA.UTF-8 UTF-8
en_IE.UTF-8 UTF-8
…and /var/lib/locales/supported.d/local contains this:
en_US.UTF-8 UTF-8
What am I missing here?
Thanks, Len
6 Replies
-bash: warning: setlocale: LCALL: cannot change locale (enUS): No such file or directory
…and sshd_config contains:
AcceptEnv LANG LC_*
Thanks, Len
@ljhardy:
…and sshd_config contains:
AcceptEnv LANG LC_*
Comment it out, i.e. stop the export of environment variables from your workstation to your server.
Commenting out the export in sshd_config had no effect, the same errors/warnings are showing up.