From e293e8d5ea149a98e8848a4b6711bd8a91f4ed22 Mon Sep 17 00:00:00 2001 From: Raphael Hertzog Date: Sun, 22 Jun 2008 10:29:51 +0200 Subject: [PATCH] dpkg(1) and dpkg-query(1): clarify explanation of -l and --get-selections * man/dpkg.1, man/dpkg-query.1: Clarify lisf of packages displayed in dpkg --get-selections and dpkg-query -l. --- ChangeLog | 5 +++++ debian/changelog | 2 ++ man/dpkg-query.1 | 3 ++- man/dpkg.1 | 3 ++- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2cfe521c..7ee4edeb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-22 Raphael Hertzog + + * man/dpkg.1, man/dpkg-query.1: Clarify lisf of packages displayed + in dpkg --get-selections and dpkg-query -l. + 2008-06-21 Raphael Hertzog * scripts/dpkg-shlibdeps.pl: If the binary analyzed is a library on a diff --git a/debian/changelog b/debian/changelog index e4901c55..b6d5395c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -46,6 +46,8 @@ dpkg (1.15.0) UNRELEASED; urgency=low * dpkg-shlibdeps give less strong warnings for symbols not found in NEEDED libraries when the shared library is a non-public directory and is likely to be a plugin. Closes: #481165 + * Clarify lisf of packages displayed by dpkg --get-selections and dpkg-query -l. + Thanks to Jidanni. Closes: #487455 [ Pierre Habouzit ] * Add a --query option to update-alternatives. Closes: #336091, #441904 diff --git a/man/dpkg-query.1 b/man/dpkg-query.1 index 7e2702bf..73cb550c 100644 --- a/man/dpkg-query.1 +++ b/man/dpkg-query.1 @@ -15,7 +15,8 @@ the \fBdpkg\fP database. .BR \-l ", " \-\-list " \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, excluding -the ones marked with state purge. Normal shell wildchars are allowed +the ones marked as not-installed (i.e. those which have been previously +purged). 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 diff --git a/man/dpkg.1 b/man/dpkg.1 index 2458889f..eda0cdd4 100644 --- a/man/dpkg.1 +++ b/man/dpkg.1 @@ -213,7 +213,8 @@ working. .TP \fB\-\-get\-selections\fP [\fIpackage-name-pattern\fP...] Get list of package selections, and write it to stdout. Without a pattern, -packages marked with state purge will not be shown. +non-installed packages (i.e. those which have been previously purged) +will not be shown. .TP .B \-\-set\-selections Set package selections using file read from stdin. This file should be -- 2.39.5