As I just wrote to the Debian bug, this is a little nuisance. If apt-
cache show <package> does not have information about a package, it
should exit with a nonzero status. This bug just bit me again (see bug
186943), in a freshly installed system "apt-cache show nvidia-glx"
succeeds and prints nothing. This is counterintuitive behaviour and
breaks the usual paradigm of writing scripts and checking its exit
status.

-- 
`apt-cache show gphoto2' is silent and exits 0.
https://bugs.launchpad.net/bugs/18306
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to