Bug#573214: locales: sv_SE.ISO8859-1 locale suddenly invalid(?)
Package: locales
Version: 2.7-18lenny2
Severity: normal
This configuration has worked for me for a long time:
$ echo $LC_ALL
sv_SE.ISO8859-1
$ echo $LANG
sv
$ echo $LANGUAGE
sv_SE.ISO-8859-1:sv:nb_NO.ISO-8859-1:nb:da_DK.ISO-8859-1:da:nn_NO.ISO-8859-1:nn:en_GB.ISO-8859-1:en_US.ISO-8859-1:en
But suddenly (probably after a recent security update) it has started
producing error messages:
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_COLLATE to default locale: No such file or directory
That doesn't seem right. I still get Swedish sort order, Swedish messages
from software and Swedish manual pages where available, so something strange
is going on.
$ locale
LANG=sv
LANGUAGE=sv_SE.ISO-8859-1:sv:nb_NO.ISO-8859-1:nb:da_DK.ISO-8859-1:da:nn_NO.ISO-8859-1:nn:en_GB.ISO-8859-1:en_US.ISO-8859-1:en
LC_CTYPE="sv_SE.ISO8859-1"
LC_NUMERIC="sv_SE.ISO8859-1"
LC_TIME="sv_SE.ISO8859-1"
LC_COLLATE="sv_SE.ISO8859-1"
LC_MONETARY="sv_SE.ISO8859-1"
LC_MESSAGES="sv_SE.ISO8859-1"
LC_PAPER="sv_SE.ISO8859-1"
LC_NAME="sv_SE.ISO8859-1"
LC_ADDRESS="sv_SE.ISO8859-1"
LC_TELEPHONE="sv_SE.ISO8859-1"
LC_MEASUREMENT="sv_SE.ISO8859-1"
LC_IDENTIFICATION="sv_SE.ISO8859-1"
LC_ALL=sv_SE.ISO8859-1
$ locale -a |fgrep sv
sv_SE
sv_SE.iso88591
sv_SE.iso885915
sv_SE.utf8
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=sv, LC_CTYPE=sv (charmap=ISO-8859-1) (ignored: LC_ALL set to sv_SE.ISO8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages locales depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii libc6 [glibc-2.7-1] 2.7-18lenny2 GNU C Library: Shared libraries
locales recommends no packages.
locales suggests no packages.
-- debconf information:
* locales/default_environment_locale: sv_SE
* locales/locales_to_be_generated: nb_NO ISO-8859-1, nb_NO.UTF-8 UTF-8, nn_NO ISO-8859-1, nn_NO.UTF-8 UTF-8, sv_SE ISO-8859-1, sv_SE.ISO-8859-15 ISO-8859-15, sv_SE.UTF-8 UTF-8
Reply to: