please kick out that annoying locale warning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
perl (Debian) |
Fix Released
|
Unknown
|
|||
perl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Whenever perl gets invoked, e.g. when dpkg runs, perl prints this annoying multi-line warning, if some of the selected locales aren't available:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_PAPER = "de_DE.UTF-8",
LC_ADDRESS = "de_DE.UTF-8",
LC_MONETARY = "de_DE.UTF-8",
LC_NUMERIC = "de_DE.UTF-8",
LC_TELEPHONE = "de_DE.UTF-8",
LC_IDENTIFICATION = "de_DE.UTF-8",
LC_MEASUREMENT = "de_DE.UTF-8",
LC_TIME = "de_DE.UTF-8",
LC_NAME = "de_DE.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I'm unable to see why only perl has to display such a warning, but all programs written in another language just handle this fallback silently.
It's not a big deal on a desktop system, where you usually just install the missing locale - or where you already have it installed, because otherwise your environment wouldn't be set like this.
But if you ssh to remote machines, then your language settings automatically get forwarded. On those remote machines it might be impossible to install the missing locales due to restricted user permissions or due to limited space on embedded systems.
Changed in perl (Debian): | |
status: | Unknown → New |
Changed in perl (Debian): | |
status: | New → Won't Fix |
Changed in perl (Debian): | |
status: | Won't Fix → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.