Package: locales Version: 2.9-12 Severity: normal Tags: d-i I have at least two systems where /etc/locale.gen contains two copies of the en_US.UTF-8 line. On both, one copy is present in alphabetical order with the rest, and the other copy is near the end of the file. Reconfiguring locales does not remove the duplicate, and localegen wastes time by building the same locale twice. On one system, my /etc history indicates that the change occurred on the upgrade to version 2.9-4 of locales (from version 2.7-18). The version number is likely not significanta, the significant thing seems to be that this was the first upgrade of locales after the initial installation. At that time, locale.gen was changed as follows, note the addition of a dup entry. --- a/locale.gen +++ b/locale.gen @@ -135,7 +135,7 @@ # en_SG.UTF-8 UTF-8 # en_US ISO-8859-1 # en_US.ISO-8859-15 ISO-8859-15 -# en_US.UTF-8 UTF-8 +en_US.UTF-8 UTF-8 # en_ZA ISO-8859-1 # en_ZA.UTF-8 UTF-8 # en_ZW ISO-8859-1 @@ -422,3 +422,12 @@ # zu_ZA ISO-8859-1 # zu_ZA.UTF-8 UTF-8 en_US.UTF-8 UTF-8 +# bo_CN UTF-8 +# bo_IN UTF-8 +# en_AG UTF-8 +# ht_HT UTF-8 +# ks_IN@devanagari UTF-8 +# nl_AW UTF-8 +# sd_IN UTF-8 +# sd_IN@devanagari UTF-8 +# shs_CA UTF-8 I suspect this has something to do with d-i (localechooser) appending an uncommented entry to the file, but the uncommenting of the duplicate entry seems to be done by locales, and I think this should be fixed in locales. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.29-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages locales depends on: ii debconf [debconf-2.0] 1.5.26 Debian configuration management sy ii libc6 [glibc-2.9-1] 2.9-12 GNU C Library: Shared libraries locales recommends no packages. locales suggests no packages. -- debconf information: * locales/default_environment_locale: en_US.UTF-8 * locales/locales_to_be_generated: en_US.UTF-8 UTF-8, fr_FR.UTF-8 UTF-8 -- see shy jo
Attachment:
signature.asc
Description: Digital signature