Re: dpkg -V does not consider path-exclude config, fails on ubuntu-minimal
Hi, On Fri, Nov 20, 2020 at 1:25 PM Balint Reczey wrote: > > Hi Andreas, > > On Fri, Nov 20, 2020 at 3:29 PM Andreas Hasenack > wrote: > > Shouldn't `dpkg -V` take the path-{exclude,include} into > > consideration? Is this just a bug (which I can file), or was it a > > conscious decision? > > IMO this is just a dpkg bug, observable on Sid, too. Thanks, I filed https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975338 -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
Re: dpkg -V does not consider path-exclude config, fails on ubuntu-minimal
Hi Andreas, On Fri, Nov 20, 2020 at 3:29 PM Andreas Hasenack wrote: > > Hi, > > I noticed that `dpkg -V` does not take into consideration potential > exclusions defined in its configuration. > > An ubuntu-minimal image, for example, has this: > ``` > $ 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.* > ``` > > Which results in a lot of noise when `dpkg -V` is run: > ``` > $ dpkg -V | head > ??5?? /usr/share/doc/python3-pkg-resources/pkg_resources.txt.gz > ??5?? /usr/share/doc/fonts-ubuntu-console/README > ??5?? /usr/share/doc/cryptsetup-bin/NEWS.Debian.gz > ??5?? /usr/share/man/man8/cryptsetup-reencrypt.8.gz > ??5?? /usr/share/man/man8/cryptsetup.8.gz > ??5?? /usr/share/man/man8/integritysetup.8.gz > ??5?? /usr/share/man/man8/veritysetup.8.gz > ??5?? /usr/share/doc/python3-distutils/README.Debian > ??5?? /usr/share/doc/libip4tc2/NEWS.Debian.gz > ??5?? /usr/share/doc/libksba8/AUTHORS > ... > ``` > > Shouldn't `dpkg -V` take the path-{exclude,include} into > consideration? Is this just a bug (which I can file), or was it a > conscious decision? IMO this is just a dpkg bug, observable on Sid, too. This is not the only related dpkg bug, see for example: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859646 Cheers, Balint -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
dpkg -V does not consider path-exclude config, fails on ubuntu-minimal
Hi, I noticed that `dpkg -V` does not take into consideration potential exclusions defined in its configuration. An ubuntu-minimal image, for example, has this: ``` $ 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.* ``` Which results in a lot of noise when `dpkg -V` is run: ``` $ dpkg -V | head ??5?? /usr/share/doc/python3-pkg-resources/pkg_resources.txt.gz ??5?? /usr/share/doc/fonts-ubuntu-console/README ??5?? /usr/share/doc/cryptsetup-bin/NEWS.Debian.gz ??5?? /usr/share/man/man8/cryptsetup-reencrypt.8.gz ??5?? /usr/share/man/man8/cryptsetup.8.gz ??5?? /usr/share/man/man8/integritysetup.8.gz ??5?? /usr/share/man/man8/veritysetup.8.gz ??5?? /usr/share/doc/python3-distutils/README.Debian ??5?? /usr/share/doc/libip4tc2/NEWS.Debian.gz ??5?? /usr/share/doc/libksba8/AUTHORS ... ``` Shouldn't `dpkg -V` take the path-{exclude,include} into consideration? Is this just a bug (which I can file), or was it a conscious decision? -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel