Bug#363644: locales: fails to install/postinst
Package: locales
Version: 2.3.6-7
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
After a dist-upgrade the other day, the locales package seems broken. During the postinst process, and upon subsequent 'dpkg-reconfigure locales', I get these errors:
$ sudo dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/sbin/dpkg-reconfigure: locales is broken or not fully installed
I saw the notice in NEWS.Debian, and I copied /etc/environment to /etc/default/locale, but that didn't fix it. I searched on Google and the mailing lists, but I couldn't
find an answer. I don't know what else to do, and it seems like a bug since all I did was upgrade, so I'm filing here.
- -- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Versions of packages locales depends on:
ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii libc6 [glibc-2.3.6-2] 2.3.6-7 GNU C Library: Shared libraries
locales recommends no packages.
- -- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
* locales/default_environment_locale: en_US
* locales/locales_to_be_generated:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFERyWf5+GdyTDsrJsRApbEAJ43QzUClvxisNmYjhw6QUxknN0HZACgrQKz
pRM7GYAwf1jkHGO3pWrMmak=
=ho22
-----END PGP SIGNATURE-----
Reply to: