Here is a program to find the possible culprits. Use
$ perl m /tmp/log #where log is attached to the bug report above.
#!/usr/bin/perl
use strict;
use warnings FATAL => 'all';
my %p;
while (<>) {
    if (/Unpacking (\S+)/)  { $p{$1}++; next; }
    if (/Setting up (\S+)/) { $p{$1}--; next; }
    last if /locale: Cannot set LC_ALL to default locale/;
}
for ( sort keys %p ) { print "$_\n" if $p{$_}; }
-- System Information:
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)

$ strace env 2>&1|grep \"/
execve("/usr/bin/env", ["env"], 0x7fff1e590110 /* 62 vars */) = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
$ dlocate /usr/lib/locale/locale-archive
$ ls -l /usr/lib/locale/locale-archive
-rw-r--r-- 1 root root 4953856 01-30 10:29 /usr/lib/locale/locale-archive

Reply via email to