You would occasionally get this warning (e.g.: when apt-get'ing something that uses perl to configure the package).
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
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
note: the current (incomplete, see log above) configuration is en_GB.UTF-8 (so GB instead of US). I reckon the above fixe with en_GB would work similarly well.
Issue by giuliomoro Tuesday Apr 25, 2017 at 00:23 GMT Originally opened as https://github.com/LBDonovan/image-builder/issues/12
You would occasionally get this warning (e.g.: when
apt-get
'ing something that usesperl
to configure the package).This solution worked:
note: the current (incomplete, see log above) configuration is
en_GB.UTF-8
(soGB
instead ofUS
). I reckon the above fixe withen_GB
would work similarly well.