I think Steve Harms is wrong above. The problem still remains in Dapper. It's just gphoto2 appears to have changed from a virtual package to a real one. But the problem remains with awk.
$ t() { apt-cache show $1 >/tmp/t 2>&1; echo $?; wc -c /tmp/t; } $ t foo 100 53 /tmp/t $ cat /tmp/t W: Unable to locate package foo E: No packages found $ t gphoto2 0 755 /tmp/t $ t awk 0 0 /tmp/t $ -- `apt-cache show gphoto2' is silent and exits 0. https://launchpad.net/bugs/18306 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs