Package: dpkg
Version: 1.22.11
Severity: wishlist
X-Debbugs-Cc: nis.martensen@web.de
Reportbug uses `dpkg --status $package` to collect information about a package, including the list of configuration files. It assumes that the output in each line under Conffiles is always a space-separated tuple of filename and md5sum. However, this is not always true, as indicated in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080336
What should users of the dpkg --status output expect regarding the
conffiles list? E.g., how many fields can there be on each line? Why are non-existent files sometimes included in the list? See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085130
for an example of confusion. When can removed configuration files be
expected to no longer be listed?
I'm wondering if reportbug should be changed to notice when the remove-on-upgrade flag is printed and then ignore the corresponding line.
Clarification or advice is appreciated. Would the deb-conffiles man page
be a good place to add clarifying documentation? Thanks!
`dpkg --status procps` on current sid now includes this line:
/etc/sysctl.conf 72b7c827a9636cda7b3b371091ff2dce remove-on-upgrade
After running `apt install --reinstall procps` the corresponding line in
the `dpkg --status procps` output looks like this:
/etc/sysctl.conf newconffile remove-on-upgrade
Does it mean the conffile will always be listed in the output as long as
it is listed in DEBIAN/conffiles, even if the «remove-on-upgrade» flag
has been present across several package upgrades? Or does the line only
not get dropped here because what I did was a reinstall and not an upgrade?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 157:56:02 |
Calls: | 10,384 |
Calls today: | 1 |
Files: | 14,056 |
Messages: | 6,416,482 |