Hi! On Mon, 2024-04-15 at 13:15:13 +0200, Santiago Vila wrote: > Hi. I'm scared about removing /etc/profile by accident. > > Guillem: I see that dpkg contains some helper programs to remove > "obsolete conffiles". > > Are they meant to be used for conffiles which should no longer exist, > or also for conffiles which are no longer conffiles but should > continue to exist?
I'm afraid they are for the former. > The end goal is to make "dpkg -s base-files" not to show /etc/profile anymore > on systems which were upgraded from an old Debian release (where the file > was still a conffile). Is there a tested and fool-proof way to do that? I don't think there is one. I guess at least right now it would require devising, testing and adding a new action to dpkg-maintscript-helper. But perhaps I should just focus on the conffile handling rework, with dynamic conffile support. I've at least added an explicit entry for this specific case to my dpkg TODO list (even though I think this was already implicit in that planned rework). Thanks, Guillem