"setting locale failed" if using other keyboard layout than language
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
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@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@euro
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
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@euro locale simply did not get generated. Seems like other people (http://
locale-gen de_DE@euro
But actually the "normal human being" would be happy if the installer would have done this for him/her already.
Changed in debian-installer (Ubuntu): | |
status: | Incomplete → Confirmed |
tags: | added: lucid maverick natty |
summary: |
- "setting locale failed" if using other keyboard layout then language + "setting locale failed" if using other keyboard layout than language |
Sorry I forgot to mention that the installation was done using the text-based installer, not the graphical one. The server-edition is affected as well.