This seems either a bug or missing documentation.

Symptoms are that running perl scripts generate (may be not always)
messages like those generated by debconf-show:

[...@varkolak:/tmp] sudo debconf-show locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_PAPER = "a4",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
[...@varkolak:/tmp] 

Selected few lines from the log generated by:
  strace -o log /usr/sbin/update-locale LANG=en_US.UTF-8

open("/usr/lib/locale/a4/LC_PAPER", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/usr/share/locale-langpack/a4/LC_PAPER", O_RDONLY) = -1 ENOENT (No such 
file or directory)
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
_llseek(0, 0, 0xbfef8190, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
_llseek(1, 0, 0xbfef8190, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
_llseek(2, 0, 0xbfef8190, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(2, "perl: warning: Setting locale fa"..., 38) = 38
write(2, "perl: warning: Please check that"..., 55) = 55
write(2, "\tLANGUAGE = (unset),\n", 21) = 21
write(2, "\tLC_ALL = (unset),\n", 19)   = 19
write(2, "\tLC_PAPER = \"a4\",\n", 18)  = 18
write(2, "\tLANG = \"en_US.UTF-8\"\n", 22) = 22
write(2, "    are supported and installed "..., 48) = 48
write(2, "perl: warning: Falling back to t"..., 58) = 58

-- 
UTF8 locale fail after dpkg-reconfigure locales
https://bugs.launchpad.net/bugs/10330
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to