Package: update-notifier-common Version: 0.99.3debian4 Severity: normal Tags: squeeze sid
Hi, everytime I log in, I see this: $ sh /usr/lib/update-notifier/update-motd-updates-available stat: cannot stat `/etc/apt//sources.list': No such file or directory /usr/lib/update-notifier/update-motd-updates-available: line 43: [: -gt: unary operator expected ... The reason is that I have modularized sources.list into individual snippets in /etc/apt/sources.list.d, and no /etc/sources.list anymore. This is to ease adapting to changing network conditions - I can now copy appropriate snippets to and fro, instead of having to mangle the sources.list file. The test in line 43 is too simplistic to catch this case, but I'm uncertain about what the program should really do. Maybe this: NEED_UPDATE_CHECK=no for i in /$EtcDir/$SourceList /$EtcDir/${SourceList}.d/*; do test -f $i && NEED_UPDATE_CHECK=yes done Just a shot into the dark. Kind regards, --Toni++ -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (250, 'unstable'), (50, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-4-686-bigmem (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages update-notifier-common depends on: ii python 2.5.4-9 An interactive high-level object-o ii python-apt 0.7.95 Python interface to libapt-pkg Versions of packages update-notifier-common recommends: pn cpu-checker <none> (no description available) ii libpam-modules 1.1.1-3 Pluggable Authentication Modules f update-notifier-common suggests no packages. -- 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