Bug#466702: locales: Cannot correctly set locale after update to 2.7-8
Package: locales
Version: 2.7-8
Severity: important
After upgrade to version 2.7-8 most of my software does not show
the selected language because locales does not keep the selected
language, as shown bellow:
$ locale -a
C
POSIX
en_US
en_US.iso88591
en_US.utf8
pt_BR
pt_BR.iso88591
pt_BR.utf8
Content of /etc/environment :
LANGUAGE="pt_BR.UTF-8:pt_BR:pt:pt_PT"
LANG=pt_BR.UTF-8
But locale is set as:
$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
Running dpkg-reconfigure locales does not change that. I'm not able to
set locale to anything but POSIX.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.21-2-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages locales depends on:
ii debconf [debconf-2.0] 1.5.19 Debian configuration management sy
ii libc6 [glibc-2.7-1] 2.7-8 GNU C Library: Shared libraries
locales recommends no packages.
-- debconf information:
* locales/default_environment_locale: pt_BR.UTF-8
* locales/locales_to_be_generated: en_US ISO-8859-1, en_US.UTF-8 UTF-8, pt_BR ISO-8859-1, pt_BR.UTF-8 UTF-8
Reply to: