The following commit has been merged in the master branch:
commit fbe07e934f267077d2abdf1c286f03c84f4035ea
Author: Guillem Jover <guil...@debian.org>
Date:   Fri May 18 04:24:12 2012 +0200

    dpkg(1): Clarify that the «dpkg -l» example only lists installed packages
    
    Also add a reference to «dpkg-query --load-avail» as a way to list
    available packages.
    
    Closes: #673305

diff --git a/debian/changelog b/debian/changelog
index 45dfe6c..422f37c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,9 @@ dpkg (1.16.4) UNRELEASED; urgency=low
     Thanks to Roger Leigh <rle...@debian.org>.
   * Add support for “none” as a valid dpkg-deb compression strategy value.
     Closes: #674711
+  * Clarify in dpkg(1) that the «dpkg -l» example only lists installed
+    packages, and that to list available packages «dpkg-query --load-avail»
+    has to be used instead. Closes: #673305
 
   [ Updated man page translations ]
   * German (Helge Kreutzmann).
diff --git a/man/dpkg.1 b/man/dpkg.1
index b19fe87..1b58a4f 100644
--- a/man/dpkg.1
+++ b/man/dpkg.1
@@ -757,7 +757,10 @@ Defined by \fBdpkg\fP on the maintainer script environment 
to the
 name of the script running (preinst, postinst, prerm, postrm).
 .
 .SH EXAMPLES
-To list packages related to the editor \fBvi\fP(1):
+To list installed packages related to the editor \fBvi\fP(1) (note that
+\fBdpkg\-query\fP does not load the available file anymore by default, and
+the \fBdpkg\-query\fP \fB\-\-load\-avail\fP option should be used instead
+for that):
 .br
 \fB     dpkg \-l \(aq*vi*\(aq\fP
 .br

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to