Bug#202493: apt-cache show prints nothing and exits successfully

2011-02-07 Thread David Kalnischkies
Version: 0.7.26~exp12 Since this version the output for the command presented in the first message: $ apt-cache show awk N: Can't select versions from package 'awk' as it purely virtual N: No packages found So the initial request is satisfied (half way). Note that the returncode is zero (succes

Bug#202493: apt-cache show prints nothing and exits successfully

2008-02-04 Thread Martin Pitt
Hi! I disagree with 'wontfix'. This is not limited to virtual packages. It also happens if you install a fresh system and didn't do an initial apt-get update, but packages are referred to through dependencies. If apt-cache show does not know about a package, it should exit with a nonzero status.