Package: apt-file Version: 2.1.0 Severity: normal I'm running AMD64 Ubuntu Hardy, but I'm reporting this to the Debian BTS because the package version doesn't have ubuntu in it, so I assume the bug was/is also present in apt-file 2.1.0 in Debian. (It's not present in apt-file 2.0.8.2 in etch).
$ sudo dpkg-reconfigure apt-file /usr/share/apt-file/is-cache-empty: line 13: return: can only return from a function or sourced script is-cache-empty should probably use exit 0 or exit 1 not return, unless it is sourced somewhere and exec()ed somewhere else. In that case, it's probably best to call it the same way everywhere. (I was using dpkg-reconfigure to see if there was an option to configure periodic updates with a cron job...) -- System Information: Debian Release: lenny/sid APT prefers hardy-updates APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy'), (470, 'hardy-proposed'), (400, 'intrepid') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-21-generic (SMP w/2 CPU cores) Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages apt-file depends on: ii curl 7.18.0-1ubuntu2 Get a file from an HTTP, HTTPS or ii libapt-pkg-perl 0.1.21build3 Perl interface to libapt-pkg ii libconfig-file-perl 1.41-1 Parses simple configuration files ii liblist-moreutils-perl 0.21-1 Addition list functions not found ii menu 2.1.38ubuntu2 generates programs menu for all me ii perl 5.8.8-12 Larry Wall's Practical Extraction ii wget 1.10.2-3ubuntu1 retrieves files from the web apt-file recommends no packages. -- no debconf information -- #define X(x,y) x##y Peter Cordes ; e-mail: X([EMAIL PROTECTED] , des.ca) "The gods confound the man who first found out how to distinguish the hours! Confound him, too, who in this place set up a sundial, to cut and hack my day so wretchedly into small pieces!" -- Plautus, 200 BC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]