dpkg -S problem
I am wondering, if dpkg -S is working for other people very unreliably too
(see example below). I guess one of the problem is, that dpkg cannot handle
paths which contain symbolic links, but this cannot easily solved. But the
following example (Debian 2.0r2) was surprising for me, because
/usr/bin/printmail does not contain a symbolic link.
Explanation: containing a symbolic link
$ ls -l /usr/bin/|grep X11
lrwxrwxrwx 1 root root 12 Sep 14 16:22 X11 -> ../X11R6/bin
Thus /usr/bin/X11/Xvnc contains a symbolic link.
$ dpkg -l /usr/bin/printmail
No packages found matching /usr/bin/printmail.
$ dpkg -L elm-me+|grep printmail