Hi,
it seems empty directories sometimes get missing in dpkg. Not sure yet
whether this is a bug and if so, in which package.
# cruft-ng
cruft report: Thu 29 Jun 2017 11:40:30 AM UTC
---- missing: dpkg ----
/usr/lib/x86_64-linux-gnu/gio
/usr/lib/x86_64-linux-gnu/gio/modules
[...]
They should be part of libglib2.0-0:
# dpkg -L libglib2.0-0:amd64 | grep /usr/lib/x86_64-linux-gnu/gio
/usr/lib/x86_64-linux-gnu/gio
/usr/lib/x86_64-linux-gnu/gio/modules
But no other files are registered in the path:
# dpkg -S '/usr/lib/x86_64-linux-gnu/gio*'
libglib2.0-0:amd64: /usr/lib/x86_64-linux-gnu/gio/modules
libglib2.0-0:amd64: /usr/lib/x86_64-linux-gnu/gio
Reinstalling the package did not help.
It would be nice to have a way to at least manually ignore these.
cheers,
Stefan
Hi, When I took over cruft, I realized support for "filters-miss/" has never been fully implemented; so it hasn't been re-implemented in cruft-ng: See here: nothing https://sources.debian.net/src/cruft/0.9.12/filters-miss/ libglib2.0-0 is still using deprecated CDBS build system; a wild guess is that witching to modern Debhelper would make this problem disapear. This is likely more globaly usefull than implemeting manual filtering of missing files in cruft/cruft-ng Greets, Alexandre
Hi, When I took over cruft, I realized support for "filters-miss/" has never been fully implemented; so it hasn't been re-implemented in cruft-ng: See here: nothing https://sources.debian.net/src/cruft/0.9.12/filters-miss/ libglib2.0-0 is still using deprecated CDBS build system; a wild guess is that witching to modern Debhelper would make this problem disapear. This is likely more globaly usefull than implemeting manual filtering of missing files in cruft/cruft-ng Greets, Alexandre
Hi, So you think debhelper would add postinst code to make sure those directories are present? Because I see no other way the build system would affect the outcome. I found more use cases in the meantime... - /etc/python2.7/sitecustomize.py doesn't get created on upgrade/reinstall - the glib problem/bug sometimes also triggers with /usr/share/glib-2.0/schemas - sometimes I explicitly don't want a config file to be present (signalled by renaming it to FOO.dpkg-dist). For example init scripts when I only want the binary, not the service. Or the many exim config snippets you don't want to activate. cheers, Stefan
control: tags -1 +confirmed apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall libpython2.7-minimal For this purpose, /etc/cruft/filters or more precisely /etc/cruft/filters-miss should work with old cruft; I'll have a look on how to implement those in cruft-ng. Alexandre
Sample:
/etc/logcheck/ignore.d.paranoid
/etc/logcheck/ignore.d.workstation
/etc/pkcs11
/etc/pkcs11/modules
The files inside those directories are listed OK
and doesn't come up in cruft-ng output.
I'm adding an heuristic only for the files in /etc in latest release.
dpkg treats /etc differently from the rest,
for the files in /usr the individual packages should be fixed.
Greetings,
Alexandre