[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#684134: Package 'locales' resets pre-set debconf variable 'default_environment_locale' on install



Package: locales
Version: 2.13-38
Followup-For: Bug #684134

Hello,

I've also been bitten by this when setting both ``default_environment_locale``
and ``locales_to_be_generated`` variables in a preseed file for a container.
The ``locales.config`` package script doesn't take those into accout so I'm
forced to fiddle with sed and ``/etc/locale.gen``, locale-gen and
update-locale afterwards.  This could be avoided if the config script looked
up these variables before overwriting them.

Thanks,

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages locales depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libc6 [glibc-2.13-1]   2.13-38

locales recommends no packages.

locales suggests no packages.

-- debconf information:
* locales/default_environment_locale: ca_ES.UTF-8
* locales/locales_to_be_generated: ca_ES.UTF-8 UTF-8, en_GB.UTF-8 UTF-8, en_US.UTF-8 UTF-8, es_ES.UTF-8 UTF-8


Reply to: