Librem 5 system: locale(s) not generated automatically
What problem did you encounter
What is the actual behaviour?
Selected language in the user interface (gnome-settings-*): en_GB.UTF-8
THEN in Terminal:
# perl --version
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_MONETARY = "en_GB.UTF-8",
LC_PAPER = "en_GB.UTF-8",
LC_MEASUREMENT = "en_GB.UTF-8",
LC_TIME = "en_GB.UTF-8",
LC_NUMERIC = "en_GB.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
This is perl 5, version 28, subversion 1 (v5.28.1) built for aarch64-linux-gnu-thread-multi
(with 61 registered patches, see perl -V for more detail)
(...)
This can actually cause trouble for some background processes as the output of perl scripts aren't parsable.
What is the expected behaviour?
Locales will be generated as needed so that programs like perl
run without issue.
How to reproduce
Please provide steps to reproduce the issue. If it's a graphical issue please attach screenshots.
What hardware are you running on?
-
amd64 qemu image -
Librem5 devkit -
other (please elaborate)
Librem 5 Birch
Relevant OS information
Which kernel are you using?
Please paste the output of uname -a
below.
Linux pureos 5.3.0-librem5-h1 #1 SMP PREEMPT Tue Jan 7 10:16:00 CET 2020 aarch64 GNU/Linux
Which OS are you using?
Please paste the output of cat /etc/os-release
below.
ID=pureos
NAME=PureOS
PRETTY_NAME=PureOS
VERSION_ID=9.0
VERSION_CODENAME=amber
HOME_URL="https://pureos.net/"
SUPPORT_URL="https://puri.sm/faq/#faq-WherecanIfindoutmoreaboutPureOS"
BUG_REPORT_URL="https://tracker.pureos.net/"
LOGO=pureos-logo-icon