Преглед изворни кода

Document that 'dpkg --get-selections' and 'dpkg-query -l' without a
pattern will not list packages in state purge. Closes: #355633

Guillem Jover пре 20 година
родитељ
комит
6dfda8f75e
4 измењених фајлова са 19 додато и 8 уклоњено
  1. 2 0
      debian/changelog
  2. 7 6
      man/C/dpkg-query.1
  3. 3 2
      man/C/dpkg.1
  4. 7 0
      man/ChangeLog

+ 2 - 0
debian/changelog

@@ -36,6 +36,8 @@ dpkg (1.13.18~) UNRELEASED; urgency=low
     Closes: #153305, #271041, #282853, #307715, #355915
   * Support system library directories in dpkg-shlibdeps symlinked from
     '/lib/ldconfig'. Closes: #356452
+  * Document that 'dpkg --get-selections' and 'dpkg-query -l' without a
+    pattern will not list packages in state purge. Closes: #355633
 
   [ Christian Perrier ]
   * 

+ 7 - 6
man/C/dpkg-query.1

@@ -1,4 +1,4 @@
-.TH dpkg\-query 1 "2006-02-28" "Debian Project" "dpkg suite"
+.TH dpkg\-query 1 "2006-04-09" "Debian Project" "dpkg suite"
 .SH NAME
 dpkg\-query \- a tool to query the dpkg database
 .
@@ -41,11 +41,12 @@ the \fBdpkg\fP database.
 .TP
 \fB\-l\fP | \fB\-\-list\fP \fIpackage-name-pattern\fP ...
 List packages matching given pattern. If no \fIpackage-name-pattern\fP
-is given, list all packages in \fI/var/lib/dpkg/status\fP. Normal
-shell wildchars are allowed in \fIpackage-name-pattern\fP. Please note
-you will probably have to quote \fIpackage-name-pattern\fP to prevent
-the shell from performing filename expansion. For example this will
-list all package names starting with \*(lqlibc6\*(rq:
+is given, list all packages in \fI/var/lib/dpkg/status\fP, excluding
+the ones marked with state purge. Normal shell wildchars are allowed
+in \fIpackage-name-pattern\fP. Please note you will probably have to
+quote \fIpackage-name-pattern\fP to prevent the shell from performing
+filename expansion. For example this will list all package names starting
+with \*(lqlibc6\*(rq:
 
 .T
 .nf

+ 3 - 2
man/C/dpkg.1

@@ -1,4 +1,4 @@
-.TH dpkg 1 "2006-02-28" "Debian Project" "dpkg suite"
+.TH dpkg 1 "2006-04-09" "Debian Project" "dpkg suite"
 .SH NAME
 dpkg - package manager for Debian
 .
@@ -195,7 +195,8 @@ system. \fBdpkg\fP will suggest what to do with them to get them
 working.
 .TP
 \fBdpkg \-\-get\-selections\fP [\fIpackage-name-pattern\fP...]
-Get list of package selections, and write it to stdout.
+Get list of package selections, and write it to stdout. Without a pattern,
+packages marked with state purge will not be shown.
 .TP
 .B dpkg \-\-set\-selections
 Set package selections using file read from stdin. This file should be

+ 7 - 0
man/ChangeLog

@@ -1,3 +1,10 @@
+2006-04-09  Guillem Jover  <guillem@debian.org>
+
+	* C/dpkg.1: Document that '--get-selections' without a pattern will
+	not list packages in state purge.
+	* C/dpkg-query.1: Document that '-l' without a pattern will not list
+	packages in state purge.
+
 2006-04-08  Yuri Kozlov  <kozlov.y@gmail.com>
 
 	* ru/822-date.1.ru.po: 20t.