On Mon, 2021-05-10 at 19:35 +0200, Santiago Vila wrote: > Patches are welcome.
I'm not 100% sure how to do it properly ^^ First, for most packages I've seen, the according dpkg-maintscript- helper invocation seems to have been automatically added by dh_installdeb... no idea how this is actually triggered there or why it didn't happen for base-files Second, if you just "manually" call something like: dpkg-maintscript-helper rm_conffile /etc/apt/apt-file.conf VERSION~ -- "$@" the file would get removed, AFAIU, while it should be kept (with any possible modifications) and just unregistered from being a conffile. AFAIU the manpage, VERISION would need to be the one where you do the cleanup (followed by ~) - not the one where the file was switched back to no longer being a conffile > (But I'm not sure if it does worth the effort at this time for > bullseye, Probably not as you say,... it's rather just a cosmetic issue that should be fixed eventually. Cheers, Chris.

