Bug#37822: locales: locales broken, perl complains
Package: locales
Version: 2.1.1-5.1
Severity: important
Somehow this NMU broke locales for me. Perl now complains:
$ perl -e ''
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "da_DK"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
The strange thing is that the locale files all seem to be in place (and
readable):
$ ls /usr/share/locale/da_DK -l
total 46
-rw-r--r-- 1 root root 30594 May 16 09:29 LC_COLLATE
-rw-r--r-- 1 root root 10428 May 16 09:29 LC_CTYPE
drwxr-xr-x 2 root root 1024 May 17 01:28 LC_MESSAGES
-rw-r--r-- 1 root root 94 May 16 09:29 LC_MONETARY
-rw-r--r-- 1 root root 27 May 16 09:29 LC_NUMERIC
-rw-r--r-- 1 root root 484 May 16 09:29 LC_TIME
Also, the "date" command is no longer localized (my usual test for working
locales):
$ set|egrep '^(LANG|LC_.*)'
LANG=da_DK
$ date
Mon May 17 01:41:20 CEST 1999
I'm pretty sure that this is due to the new locale package, as this started
happening right after the new package was unpacked.
-- System Information
Debian Release: potato
Kernel Version: Linux renehl 2.2.9 #1 Fri May 14 07:09:30 CEST 1999 i686 unknown
Reply to: