Package: dpkg
Version: 1.15.8.10
Severity: minor
Tags: patch

dpkg-query(1) explains -S as:
    Search  for  a  filename  from  installed packages.
while it really searches for packages given a filename pattern. It also doesn't
include the word "own" which I've frequently tried to use to find this option.



-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  coreutils               8.5-1            GNU core utilities
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libselinux1             2.0.96-1         SELinux runtime shared libraries
ii  xz-utils                5.0.0-2          XZ-format compression utilities
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.8.10.3   Advanced front-end for dpkg

-- no debconf information
diff --git a/man/dpkg-query.1 b/man/dpkg-query.1
index abff692..2bf01e7 100644
--- a/man/dpkg-query.1
+++ b/man/dpkg-query.1
@@ -90,10 +90,10 @@ available. It might get deprecated later on if better interfaces or the
 current architectural deficiencies have been solved.
 .TP
 .BR \-S ", " \-\-search " \fIfilename-search-pattern\fP..."
-Search for a filename from installed packages. All standard shell
-wildchars can be used in the pattern. This command will not list
-extra files created by maintainer scripts, nor will it list
-alternatives.
+Search for packages that own files corresponding to the given pattern.
+Standard shell wildchars can be used in the pattern.
+This command will not list extra files created by maintainer scripts,
+nor will it list alternatives.
 .TP
 .BR \-p ", " \-\-print\-avail " \fIpackage-name\fP..."
 Display details about \fIpackage-name\fP, as found in

Reply via email to