Hi,

The important bit here is "on my system"; the cruft tool provides a way
to support local hacks: custom filters in /etc/cruft/filters.

Here's an example:

$ cat /etc/cruft/filters/DETISTE 
/etc/X11/Xreset.d/guest
/etc/apt/apt.conf.d/99local
/etc/apt/sources.list.d/local.list
/etc/cron.daily/ranger_mp3_sh
/etc/cron.daily/ranger_users
/etc/tmpfiles.d/okular.conf
/etc/tmpfiles.d/ssd.conf
/etc/udev/rules.d/backup.rules
/etc/udev/rules.d/mp3.rules
/etc/udev/rules.d/thunder.rules
/usr/local/bin/*
/usr/local/games/**
/usr/local/sbin/*
/var/www
/var/www/*
/var/www/repos/
/var/www/repos/**
-----------------------------------------------------------


Well, for upcoming cruft-ng, I've decided to always skip /mnt anyway,
as it is outside of dpkg's control:

https://github.com/a-detiste/cruft-ng/commit/af366da083587eb409ed6bc3ece08f9a5c837f1d


Le samedi 26 septembre 2015, 22:45:22 Achim Schaefer a écrit :
> Package: cruft-ng
> Version: 0.4+b1
> Severity: normal
> 
> Dear Maintainer,
> 
> in the filter-unex you can find these lines for apt:
> /var/cache/apt/archives
> /var/cache/apt/archives/*
> 
> Now on my system this is a symlink:
> ls -ld /var/cache/apt
> lrwxrwxrwx 1 root root 15 Aug 24 06:59 /var/cache/apt -> /mnt/apt/cache/
> 
> But the files get still reported:
>         /mnt/apt/cache/archives
>         /mnt/apt/cache/archives/accountsservice_0.6.40-3_amd64.deb
> 
> Thnks
> 
> Achim
>

Reply via email to