Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.gentoo.user > #116261
| From | Dr Rainer Woitok <rainer.woitok@gmail.com> |
|---|---|
| Newsgroups | linux.gentoo.user |
| Subject | [gentoo-user] Environment variables "LANG*" and "LC_*" |
| Date | 2026-05-12 19:10 +0200 |
| Message-ID | <MTYMh-4Dw8-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Greetings,
Since having packages "sys-apps/locale-gen-3.10" and "sys-libs/glibc-
2.42-r5" installed I notice the following warning in file "/var/log/
portage/elog/summary.log":
WARN: postinst
locale-gen(8) issued the following warnings:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = (unset),
LC_NUMERIC = (unset),
LC_COLLATE = "C",
LC_TIME = (unset),
LC_MESSAGES = "C",
LC_MONETARY = (unset),
LC_ADDRESS = "en_US.utf8",
LC_IDENTIFICATION = "en_US.utf8",
LC_MEASUREMENT = "en_US.utf8",
LC_PAPER = (unset),
LC_TELEPHONE = "en_US.utf8",
LC_NAME = "en_US.utf8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
Up to now my understanding was that just specifying "LANG" would also
set the other unset "LC_*" variables (except "LC_ALL"), and indeed this
is what "locale" says:
$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
$
So what does the message quoted above really want to tell me?
Slightly puzzled
Rainer
Back to linux.gentoo.user | Previous | Next — Next in thread | Find similar
[gentoo-user] Environment variables "LANG*" and "LC_*" Dr Rainer Woitok <rainer.woitok@gmail.com> - 2026-05-12 19:10 +0200
Re: [gentoo-user] Environment variables "LANG*" and "LC_*" Philipp Ludwig <gentoo@philippludwig.net> - 2026-05-13 07:50 +0200
Re: [gentoo-user] Environment variables "LANG*" and "LC_*" Dr Rainer Woitok <rainer.woitok@gmail.com> - 2026-05-13 11:10 +0200
Re: [gentoo-user] Environment variables "LANG*" and "LC_*" Philipp Ludwig <gentoo@philippludwig.net> - 2026-05-13 11:50 +0200
Re: [gentoo-user] Environment variables "LANG*" and "LC_*" Dale <rdalek1967@gmail.com> - 2026-05-13 18:40 +0200
csiph-web