Package: dpkg
Version: 1.22.6
Severity: minor

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.

===========================================================================


-- Package-specific info:

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-5.1
ii  libc6        2.38-11
ii  liblzma5     5.4.5-0.3
ii  libmd0       1.1.0-2
ii  libselinux1  3.5-2+b2
ii  libzstd1     1.5.5+dfsg2-2
ii  tar          1.35+dfsg-3
ii  zlib1g       1:1.3.dfsg+really1.3.1-1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt            2.9.5
ii  debsig-verify  0.30

-- Configuration Files:
/etc/dpkg/dpkg.cfg changed:
refuse-downgrade
no-debsig
log /var/log/dpkg.log


-- no debconf information

Reply via email to