Package: apticron Version: 1.1.18 Severity: normal The apt-listchanges output of apticron cron job fails for some days now with the following error message:
--------------- schnipp --------------------- Package Details: Lese Changelogs... Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 210, in ? main() File "/usr/bin/apt-listchanges", line 163, in main header = _('Changes for %s') % package File "/usr/lib/python2.4/gettext.py", line 353, in lgettext return tmsg.encode(locale.getpreferredencoding()) UnicodeEncodeError: 'ascii' codec can't encode character u'\xc4' in position 0: ordinal not in range(128) --------------- schnipp --------------------- If I run apticron from shell, everything seems to work correct, but in shell I have the environment variable LANG set to "de_DE", while cron seems to use an undefined LANG variable. So running # apticron works correct, while # env -u LANG apticron also fails on the command line. I'm not sure, whether this should be reported against apticron or apt-listchanges, but for me it only fails when using apticron. As a workaround for this problem, I added LANG=de_DE export LANG before running apticron to /etc/cron.daily/apticron (didn't test it right now, but I think this should solve the problem), but this requires to have de_DE locales installed, which isn't the default. Any other 8bit locale should also work, but where should we get the information from, what locale is available on a system? No idea at the moment, anyway, this is a bug... -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-amd64-k8 Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages apticron depends on: ii apt 0.6.45 Advanced front-end for dpkg ii apt-listchanges 2.63 Display change history from .deb a ii debconf [debconf 1.5.3 Debian configuration management sy ii iproute 20051007-4 Professional tools to control the ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent apticron recommends no packages. -- debconf information: * apticron/notification: root Tschoeeee Roland -- * [EMAIL PROTECTED] * http://www.spinnaker.de/ * -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]