[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#512046: apt-cache showsrc exits successfully and silently if no package is found



tag 512046 fixed-upstream
thanks

On Fri, Jan 16, 2009 at 06:57:03PM +0100, Julien Valroff wrote:
> Package: apt
> Version: 0.7.20
> Severity: normal
> 
> Hi,
> 
> $ apt-cache showsrc nonexistingpackage
> $ echo $?
> 0
> 
> whereas 
> 
> $ apt-cache show nonexistingpackage
> W: Unable to locate package nonexistingpackage
> E: No packages found
> $ echo $?
> 100
> 
> "show" has the correct behaviour, I think "showsrc" should be amended to 
> have the same behaviour.

revno: 1960
fixes bug(s): http://bugs.debian.org/512046
committer: Julian Andres Klode <jak@debian.org>
branch nick: debian-sid
timestamp: Sun 2010-03-21 18:11:46 +0100
message:
  cmdline/apt-cache.cc: Change behavior of showsrc to match the one of show (Closes: #512046).

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgpDq70bX_gkn.pgp
Description: PGP signature


Reply to: