[Bug 1905302] Re: dpkg -V should consider path-exclude/path-include

Bug Watch Updater 1905302 at bugs.launchpad.net
Sun Feb 28 19:05:17 UTC 2021


** Changed in: dpkg (Debian)
       Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1905302

Title:
  dpkg -V should consider path-exclude/path-include

Status in dpkg package in Ubuntu:
  New
Status in dpkg package in Debian:
  New

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/dpkg.cfg.d/excludes
  # Drop all man pages
  path-exclude=/usr/share/man/*

  # Drop all translations
  path-exclude=/usr/share/locale/*/LC_MESSAGES/*.mo

  # Drop all documentation ...
  path-exclude=/usr/share/doc/*

  # ... except copyright files ...
  path-include=/usr/share/doc/*/copyright

  # ... and Debian changelogs
  path-include=/usr/share/doc/*/changelog.Debian.*

  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 at sid:~# dpkg -V|head
  ??5??????   /usr/share/doc/slapd/NEWS.Debian.gz
  ??5??????   /usr/share/doc/slapd/README.DB_CONFIG.gz
  ??5??????   /usr/share/doc/slapd/README.Debian.gz
  ??5??????   /usr/share/doc/slapd/TODO.Debian
  ??5??????   /usr/share/doc/slapd/changelog.gz
  ??5??????   /usr/share/doc/slapd/examples/DB_CONFIG
  ??5??????   /usr/share/doc/slapd/examples/slapd.backup
  ??5??????   /usr/share/doc/slapd/examples/slapd.conf.gz
  ??5??????   /usr/share/man/man5/slapd-bdb.5.gz
  ??5??????   /usr/share/man/man5/slapd-config.5.gz

  Since dpkg knows these files are being excluded, it should not warn
  about them in the -V operation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1905302/+subscriptions



More information about the foundations-bugs mailing list