Your message dated Sun, 6 Dec 2015 08:01:08 +0000 with message-id <[email protected]> and subject line Re: apt-file: return non-zero if 'list' command fails to find entries has caused the Debian Bug report #706796, regarding apt-file: return non-zero if 'list' command fails to find entries to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 706796: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706796 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt-file Version: 2.5.1 Severity: normal See the following: $ apt-file --fixed-string list nothing-to-be-found; echo $? bsd-mailx: /etc/mail.rc bsd-mailx: /usr/bin/bsd-mailx bsd-mailx: /usr/share/bsd-mailx/mail.help bsd-mailx: /usr/share/bsd-mailx/mail.tildehelp bsd-mailx: /usr/share/doc/bsd-mailx/README.Debian.gz bsd-mailx: /usr/share/doc/bsd-mailx/changelog.Debian.gz bsd-mailx: /usr/share/doc/bsd-mailx/changelog.gz bsd-mailx: /usr/share/doc/bsd-mailx/copyright bsd-mailx: /usr/share/man/man1/bsd-mailx.1.gz 0 >> $ apt-file --fixed-string list nothing-to-be-found ; echo $? 0 Please return a non-zero status code if the "list" command does not produce output (no package found), so that this status code can be checked e.g. in scripts apt-file ... list "$1" || ... handle user input error -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt-file depends on: ii curl 7.26.0-1+wheezy2 ii libapt-pkg-perl 0.1.26+b1 ii libconfig-file-perl 1.50-2 ii liblist-moreutils-perl 0.33-1+b1 ii libregexp-assemble-perl 0.35-7 ii perl 5.14.2-21 ii perl-modules [libfile-temp-perl] 5.14.2-21 Versions of packages apt-file recommends: ii python 2.7.3-4 ii python-apt 0.8.8.2 Versions of packages apt-file suggests: ii openssh-client 1:6.0p1-4 ii sudo 1.8.5p2-1+nmu1 -- debconf-show failed
--- End Message ---
--- Begin Message ---Version: 3.0~exp On Sun, 05 May 2013 08:04:31 +0300 Jari Aalto <[email protected]> wrote: > Package: apt-file > Version: 2.5.1 > Severity: normal > > See the following: > > [...] > > Please return a non-zero status code if the "list" command does not > produce output (no package found), so that this status code can be > checked e.g. in scripts > > apt-file ... list "$1" || ... handle user input error > > [...] Hi, This was implemented in apt-file/3.0~exp. ~Niels
--- End Message ---

