dpkg -V should consider path-exclude/path-include
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Debian) |
New
|
Unknown
|
|||
dpkg (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Copy of the bug filed in Debian:
I noticed that dpkg -V doesn't seem to take into account the
path-exclude configuration setting.
This config, for example:
$ cat /etc/dpkg/
# Drop all man pages
path-exclude=
# Drop all translations
path-exclude=
# Drop all documentation ...
path-exclude=
# ... except copyright files ...
path-include=
# ... and Debian changelogs
path-include=
A fresh sid container has a clean dpkv -V. I then create the excludes
file above, and install some packages:
# apt install man slapd
....
dpkg -V is now unhappy:
root@sid:~# dpkg -V|head
??5?????? /usr/share/
??5?????? /usr/share/
??5?????? /usr/share/
??5?????? /usr/share/
??5?????? /usr/share/
??5?????? /usr/share/
??5?????? /usr/share/
??5?????? /usr/share/
??5?????? /usr/share/
??5?????? /usr/share/
Since dpkg knows these files are being excluded, it should not warn
about them in the -V operation.
Changed in dpkg (Debian): | |
status: | Unknown → New |