On Tue, 15 Oct 2024 Craig Small <[email protected]> wrote: > On Tue, 15 Oct 2024 at 13:03, Vincent Lefevre <[email protected]> wrote: > > > /etc/sysctl.conf is still listed as a conffile, and this can break > > other tools. > > > It seems remove-on-upgrade in the conffiles didn't do what I wanted. > I've added a rm_conffile to the mainscript which seems to have removed it.
I don't think it did not do what you wanted. There is just no documentation on how the «remove-on-upgrade» flag affects the conffiles list in the output of dpkg --status $pkg. I have filed #1085224 for clarification and already received a reply. A change in reportbug may be needed after all.

