I can confirm this issue for a new oneiric x64 desktop edition install.
I get those annoying warnings when using git. I already tried to fix my
locale settings on every place i could find, with no success.

git pull
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>       LANGUAGE = (unset),
>       LC_ALL = (unset),
>       LC_CTYPE = "de_DE.utf8",
>       LC_COLLATE = "de_DE.utf8",
>       LC_MESSAGES = "de_DE.utf8",
>       LANG = "en_US.UTF-8"
>    are supported and installed on your system.
>perl: warning: Falling back to the standard locale ("C").
>Already up-to-date.

I set up my locale in /etc/default/locale, /etc/environment, ~/.profile,
tried locale-gen en_US.UTF-8, purging, reconfiguring and reinstalling
locales but nothing worked, git (or perl) complains still about locale
settings.

(Output slightly reordered for shortening purposes)
> markus@markusnb:~$ locale
> LANGUAGE=de_DE.utf8:en
> LANG=de_DE.utf8
> LC_ALL=
> LC_CTYPE=de_DE.utf8
and so on for: LC_TIME, LC_COLLATE, LC_MONETARY, LC_MESSAGES, LC_PAPER, 
LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT, LC_IDENTIFICATION

markus@markusnb:~$ locale -a
>C
>C.UTF-8
[...]
>de_DE
>de_DE.iso88591
>de_DE.utf8
[...]
>en_US
>en_US.iso88591
>en_US.utf8
[...]
>POSIX

Oh, and /usr/share/locale contains de_DE and en_US@piglatin, so i see no
reason why perl fails to do whatever it should do

To sum it up: I *have* set up my locales and en_US.UTF-8 *exists*
(however, i *never* instructed someone to use it!) but perl ignores
those settings and whines about missing/wrong locales it has chosen by
itself!

One last tought: Is this a langpack-locales bug or a perl bug or from
where does it come from and what can i do against it? Will it break my
git repositories?

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

Title:
  Locale errors on perl package upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/871855/+subscriptions

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

Reply via email to