Package: localechooser
Severity: normal

There seems to be currently no way to preseed country.  When preseeding
it via "locale", it'll fallback to whatever is the default country for
this language.

E.g. locale=en_AU results in en_US being used, etc.

Relevant portion of the log:

Feb 15 21:11:09 localechooser: info: Locale has been preseeded to en_AU
Feb 15 21:11:10 localechooser: info: Set languagechooser/language-name = 
'English'
Feb 15 21:11:10 localechooser: info: Set countrychooser/shortlist-en = 'AU'
Feb 15 21:11:10 localechooser: info: Set debian-installer/locale = 'en_AU'
[ ". languagemap" starts ]
Feb 15 21:11:10 localechooser: info: LANGNAME=English
Feb 15 21:11:10 localechooser: info: 
line=English;0;en;US;en_US.UTF-8;;kbd=lat0-sun16(utf8)
[ ". languagemap" ends]
Feb 15 21:11:10 localechooser: info: Set debian-installer/language = 'en'
Feb 15 21:11:10 localechooser: info: Set debian-installer/locale = 'en_US.UTF-8'
Feb 15 21:11:10 localechooser: info: Set debian-installer/fallbacklocale = 
'en_US.UTF-8'
Feb 15 21:11:10 localechooser: info: Set debian-installer/country = 'US'
Feb 15 21:11:10 localechooser: info: Set debian-installer/consoledisplay = 
'kbd=lat0-sun16(utf8)'
Feb 15 21:11:10 debconf: Setting debconf/language to en
Feb 15 21:11:10 localechooser: info: Set debconf/language = 'en'
Feb 15 21:11:10 localechooser: info: Set countrychooser/country-name = 'United 
States'
Feb 15 21:11:11 localechooser: info: Set debian-installer/country = 'US'
Feb 15 21:11:11 localechooser: info: Set debian-installer/locale = 'en_US.UTF-8'

It seems that languagemap is screwing things up.  It sets the $LOCALE
variable to its fallback value from $line without taking into account
that $LOCALE might have been set earlier in do_preseed.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to