Dear Maintainer,
===========================================================================
dpkg-query does not use a partial pathname as a pattern to search.
Example:
=> which exiftool
/bin/exiftool
=> dpkg-query --search `which exiftool`
dpkg-query: no path found matching pattern /bin/exiftool
=> dlocate `which exiftool`
libimage-exiftool-perl: /usr/bin/exiftool
=> dpkg-query --search /usr/bin/exiftool
libimage-exiftool-perl: /usr/bin/exiftool
=> /bin/ls -lt /usr/bin/exiftool /bin/exiftool
-rwxr-xr-x 1 root root 320936 Feb 2 19:43 /bin/exiftool
-rwxr-xr-x 1 root root 320936 Feb 2 19:43 /usr/bin/exiftool
The behavior of dlocate, which takes "/bin/exiftool" as an argument and
returns the package containing /usr/bin/exiftool is more useful.
===========================================================================