Bug#286281: locales are not generated
tags 286281 unreproducible
Quoting GOTO Masanori (email@example.com):
> reassign 286281 debian-installer
> I think this is debian-installer issue. Debian-installer team, could
> you look at this problem?
The described behaviour is *not* the default behaviour in default
French installs. And I think I have installed enough of these for
being completely sure about this.
> > % locale
> > locale: Cannot set LC_CTYPE to default locale: No such file or directory
> > locale: Cannot set LC_MESSAGES to default locale: No such file or directory
> > locale: Cannot set LC_ALL to default locale: No such file or directory
> > LANG=fr_FR@euro
> > LC_CTYPE="fr_FR"
> > LC_NUMERIC="fr_FR"
> > LC_TIME="fr_FR"
> > LC_COLLATE="fr_FR"
> > LC_MONETARY="fr_FR"
> > LC_MESSAGES="fr_FR"
> > LC_PAPER="fr_FR"
> > LC_NAME="fr_FR"
> > LC_ADDRESS="fr_FR"
> > LC_TELEPHONE="fr_FR"
> > LC_MEASUREMENT="fr_FR"
> > LC_IDENTIFICATION="fr_FR"
> > LC_ALL=fr_FR
*this* is not what is shown by default French installs after running
d-i rc2. I'm pretty sure that no d-i version except maybe some old
daily builds have had any other behaviour.
LANG as well as all LC_* variables should be set to "fr_FR@euro", not
fr_FR. The LC_* value comes from LANG, indeed. They are not set
LC_ALL is *not* set at all, of course.
Indeed, on default French installs, debian-installer/locale is set to
fr_FR@euro and is used for preseeding the locales package
settings. So, the multiselect value of the generated locales for the
locales packages only has "fr_FR@euro" checked.
I have no idea of how the bug submitter ended up with this mixed
locales settings but this is definitely not coming from d-i.
I suggest checking root's profile or bash_profile variable
settings...or the user environment prior to doing "su" if the
described behaviour shows up after "su".