Bug#392720: locales: perl bitches when I set locale == en_CA.iso885915
Package: locales
Version: 2.3.2.ds1-22sarge4
Severity: normal
Hi. Wow, that bug list rivals Firefox's. :-P My sympathies ...
I've already been through this once before. That time, I changed the
locale settings, perl bitched, and the maintainer walked me through
the necessary locale-gen (or whatever) steps. It's in the archives.
As before, I've done "dpkg-reconfigure locales" and have selected
"en_CA ISO-8859-15", yet this happens when I run a perl script after
logging in again:
------------------------------------
(0) heretic /home/keeling_ urls
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_CA.iso885915",
LC_ALL = "",
LC_COLLATE = "C",
LANG = "en_CA.iso885915"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
------------------------------------
The last time, the maintainer thought there was no pointer from en_CA
to iso885915, and suggested adding that to locales.alias. I notice
there are no en_* entries in /etc/locale.alias
I'm trying to help someone else who's trying to get iso885915 working (I
usually use iso88591), and it's a little annoying that
"dpkg-reconfigure locales" still can't manage to sort this out.
So, dear maintainer, what are the low level commands to force the
creation of en_CA.iso885915 support? /etc/locale.gen:
------------------------------------
en_CA ISO-8859-1
en_CA ISO-8859-15
------------------------------------
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=en_CA.iso885915, LC_CTYPE=en_CA.iso885915 (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 1.4.30.13 Debian configuration management sy
ii libc6 [glibc-2.3.2.ds 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_CA.iso885915",
LC_ALL = "",
LC_COLLATE = "C",
LANG = "en_CA.iso885915"
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_CA
* locales/locales_to_be_generated: en_CA ISO-8859-1
Reply to: