Public bug reported:

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.

** Affects: perl (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: perl (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #221790
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221790

** Also affects: perl (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221790
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1078294

Title:
  please kick out that annoying locale warning

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1078294/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to