[Bug 229699] Re: "setting locale failed" if using other keyboard layout then language
George Politis
229699 at bugs.launchpad.net
Sun Dec 28 14:14:16 UTC 2014
Ubuntu 14.04 is affected... The fix from comment #16 solves the problem.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/229699
Title:
"setting locale failed" if using other keyboard layout then language
Status in debian-installer package in Ubuntu:
Confirmed
Bug description:
I am experiencing this problem since the very early days I began using
Ubuntu (4.10), and it's still there in 8.04. I get the following
messages on a clean, fresh installation when running i.e. perl-
version:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "de_DE at euro",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
The problem only happens if you choose a different keyboard layout
than the language. In my case, I want to have everything in English
but I am using a german keyboard layout. I guess this problem is
related to the installer, since it does not generate the correct
locales.
Here is some output from just running "locale":
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE=de_DE at euro
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
And here's the output from "locale -a":
locale: Cannot set LC_CTYPE to default locale: No such file or directory
C
en_US.utf8
POSIX
As you can see, the de_DE at euro locale simply did not get generated.
Seems like other people
(http://forums.vpslink.com/showthread.php?t=286,
http://ubuntuforums.org/showthread.php?t=159177) experienced this
problem as well. The solution here is simply to generate this missing
locale:
locale-gen de_DE at euro
But actually the "normal human being" would be happy if the installer
would have done this for him/her already.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/229699/+subscriptions
More information about the foundations-bugs
mailing list