Package: apt-listbugs Version: 0.0.95 Severity: minor Hi.
I get a daily mail fom cron which says: /etc/cron.daily/apt-listbugs: 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 After doing an strace of aptcleanup I find: anhrefn# strace -v -s 60 -f ruby -I/usr/share/apt-listbugs /usr/share/apt-listbugs/aptcleanup [...] 9266 execve("/bin/sh", ["sh", "-c", "LANG=en;locale charmap"], ["SHELL=/bin/bash", "TERM=rxvt", "USER=root", "MAIL=/var/mail/root", "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin"..., "PWD=/root", "LANG=C", "PS1=\\h\\$ ", "SHLVL=1", "HOME=/root", "LOGNAME=root", "_=/usr/bin/strace"]) = 'LANG=en locale charmap' gives the same effect for me. Even though I have localizations for en_GB* and en_US* installed, LANG=en does not work. Even though this is interesting, the question remains why LANG is set to en in this case. Shouldn't it be set to C, which is (as far as I dimly remember) guaranteed to exist? Greetings, AW -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26 (PREEMPT) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages apt-listbugs depends on: ii apt 0.7.20.2 Advanced front-end for dpkg ii libdpkg-ruby1.8 0.3.2 modules/classes for dpkg on ruby 1 ii libgettext-ruby1.8 1.93.0-1 Gettext for ruby1.8 ii libhttp-access2-ruby1.8 2.0.6-3 HTTP accessing library for ruby ii libruby1.8 [libzlib-ruby1.8] 1.8.7.72-3 Libraries necessary to run Ruby 1. ii libxml-parser-ruby1.8 0.6.8-4 Interface of expat for the scripti ii ruby 4.2 An interpreter of object-oriented apt-listbugs recommends no packages. Versions of packages apt-listbugs suggests: ii debianutils 2.31 Miscellaneous utilities specific t ii iceweasel [www-browser] 3.0.7-1 lightweight web browser based on M ii links [www-browser] 2.1pre37-1.1 Web browser running in text mode ii reportbug 3.48 reports bugs in the Debian distrib ii w3m [www-browser] 0.5.2-2+b1 WWW browsable pager with excellent -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org