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

Bug#565988: switching locales does not work correctly



Package: locales
Version: 2.7-18
Severity: normal


Hi,

running

# dpkg-reconfigure locales

gives me a menu to select installable locales from, and a second menu to
select default locale. To work around a certain problem, I ran this
command and selected "All" locales to be generated, and "None" as the
default locale, because I was unable finding a locale named "C" in the
list. Since this didn't solve my problem, I tried to undo the change and
ran the command again, to reset my default locale to "en_US.UTF-8". This
results in this output:

# /usr/sbin/dpkg-reconfigure locales
locales-all installed, skipping locales generation
*** update-locale: Error: invalid locale settings:  LANG=en_US.UTF-8

Please see #565984 for a related problem.


Not specifying a higher severity because the idea should occur to only
very few people in the first place, and because these problems are very
tightly related, but feel free to up the severity if you disagree.


Kind regards,
--Toni++



-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'proposed-updates'), (450, 'testing'), (250, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (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)
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:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_MESSAGES = "en_US.utf8",
	LC_COLLATE = "en_US.utf8",
	LC_CTYPE = "en_US.utf8",
	LC_TIME = "en_US.utf8",
	LANG = "de_DE.utf8"
    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: None
* locales/locales_to_be_generated: All locales



Reply to: