Package: locales Version: 2.11.3-3 Severity: normal I set debconf variable 'default_environment_locale' to desired value before installing package 'locales'. But that variable resets to 'None' on install. And LANG variable doesn't set in the /etc/default/locale
Such behavior breaks automated installation with chef or other systems. Log follows (skipped perl warnings and other insignificant output): ============ # apt-get purge -y locales # echo 'locales locales/default_environment_locale select en_US.UTF-8' |debconf-set-selections # echo 'locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8, ru_RU.UTF-8 UTF-8' |debconf-set-selections # debconf-get-selections |grep ^locales locales locales/default_environment_locale select en_US.UTF-8 locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8, ru_RU.UTF-8 UTF-8 # apt-get install -y locales # debconf-get-selections |grep ^locales locales locales/default_environment_locale select None locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8, ru_RU.UTF-8 UTF-8 ============ -- System Information: Debian Release: 6.0.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.36.1 Debian configuration management sy ii libc6 [glibc-2.11-1] 2.11.3-3 Embedded GNU C Library: Shared lib locales recommends no packages. locales suggests no packages. -- debconf information: * locales/default_environment_locale: None * locales/locales_to_be_generated: en_US.UTF-8 UTF-8, ru_RU.UTF-8 UTF-8 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org