[Adduser-devel] Bug#345639: adduser: [INTL:de] prompt does not
match expected response
Claudio Nieder
private at claudio.ch
Sat Jan 7 13:52:43 UTC 2006
Hi,
> hydra:~# locale | grep LANG
> LANG=de_DE at euro
I see your settings differ from mine:
$ locale | grep LANG
LANG=en_GB.UTF-8
$ env | grep -e LC -e LANG
LANG=en_GB.UTF-8
LANGUAGE=de_CH:de_DE:de:en_GB:en
It seems like adduser soemtimes uses LANGUAGE and sometimes LANG to determine
the language.
# LANG=de_CH.UTF-8 adduser test
Lege Benutzer test an...
Adding new group `test' (1010).
Adding new user `test' (1010) with group `test'.
Homeverzeichnis /home/test existiert bereits. Kopiere keine Dateien
aus /etc/skel
Enter new UNIX password:
Retype new UNIX password:
passwd: Kennwort erfolgreich geändert
Ändere Benutzerinformationen für test
Geben Sie einen neuen Wert an oder ENTER für den Standardwert
Name []: abc
Raum []:
Telefon geschäftlich []:
Telefon privat []:
Sonstiges []:
Sind die Informationen korrekt? [j/N] j
For how I ended up with my combination of LANUAGE and LANG I can only guess:
In /var/cache/debconf/config.dat I see
Name: debian-installer/language
Template: debian-installer/language
Value: de_CH:de_DE:de:en_GB:en
Owners: d-i, unknown
Thus the LANGUAGE setting came probably from when I first installed debian.
The LANG in /etc/environment - I just verified by doing a dpkg-reconfigure
locales - gets set when locales is configured.
So I must have at some time decided to have en_GB as default locale and done
it through a dpkg-reconfigure locales, without remembering that there is more
to change.
Is this a stupid user (that would be me) problem?
Is it a debian-installer problem as it sets an environment variable which is
is only partially supported?
Is it a locales problem, as it does not care about LANGUAGE?
Is it an adduser problem as it uses different methods to figure out the
language to use?
Please advise me, if I should open bug reports against debian-installer or
locales.
If you think it is the "stupid user" problem, please tell me which section of
which guide/how-to/man-page I missed to read. I never mind being called
stupid if one helps me learn and improve!
claudio
--
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:private at claudio.ch http://www.claudio.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060107/31fd419c/attachment.pgp
More information about the Adduser-devel
mailing list