diff --git a/man/dpkg-query.pod b/man/dpkg-query.pod
index ade71db25..53ab4e3b7 100644
--- a/man/dpkg-query.pod
+++ b/man/dpkg-query.pod
@@ -137,7 +137,7 @@ When multiple I<package-name> entries are listed, the requested status
entries are separated by an empty line, with the same order as specified
on the argument list.
-=item B<-L>, B<--listfiles> I<package-name>...
+=item B<-L>, B<--listfiles> [I<package-name>...]
List files installed to your system from I<package-name>. When multiple
I<package-name>s are listed, the requested lists of files are separated
On Sun, 2022-08-21 at 20:44:32 +0200, Jochen Sprickerhof wrote:
diff --git a/man/dpkg-query.pod b/man/dpkg-query.pod
index ade71db25..53ab4e3b7 100644
--- a/man/dpkg-query.pod
+++ b/man/dpkg-query.pod
@@ -137,7 +137,7 @@ When multiple I<package-name> entries are listed, the requested status
entries are separated by an empty line, with the same order as specified
on the argument list.
-=item B<-L>, B<--listfiles> I<package-name>...
+=item B<-L>, B<--listfiles> [I<package-name>...]
List files installed to your system from I<package-name>. When multiple
I<package-name>s are listed, the requested lists of files are separated
Hmm, this does not seem to fit entirely the --listfiles action, and
diverges from its interface, but in any case I think the following
would be an existing and equivalent replacement:
$ dpkg-query -f '${db-fsys:Files}\n' -W
Btw. is there a similar feature to list all control files of all packages, like dpkg-query -c dpkg?
Otherwise, would something like db-fsys:Control-Files be acceptable?
I'm trying to build something similar to the cruft(-ng) package to find non package files. Would that be a feature for dpkg?
On Mon, 2022-08-22 at 10:45:09 +0200, Jochen Sprickerhof wrote:
Btw. is there a similar feature to list all control files of all packages, >> like dpkg-query -c dpkg?
Otherwise, would something like db-fsys:Control-Files be acceptable?
I'm trying to get rid of --control-path (see man page), so I'd rather not
add similar things as supported interfaces. :)
I'm trying to build something similar to the cruft(-ng) package to find non >> package files. Would that be a feature for dpkg?
I had a branch that extends «dpkg --audit» with checks for unknown
database files under /var/lib/dpkg/, replicating in a built-in way
what the dpkg postinst script is currently doing (for that one-time
db recovery code). I guess that could be extended further to also check
for stuff under /var/lib/dpkg/info/. What are the checks you had in
mind? Whether there are files there for packages not currently preset? >Perhaps also for files that should not be present for say a package in >config-files state? Anything else?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 48:12:36 |
Calls: | 6,710 |
Calls today: | 3 |
Files: | 12,243 |
Messages: | 5,354,638 |
Posted today: | 1 |