Hey. On Fri, 2021-06-25 at 12:39 +0200, Roland Rosenfeld wrote: > But I'm not fully sure, whether using rm_conffile for > /etc/privoxy/config is a good idea. Sure, it is no longer a conffile > nor is it contained in the privoxy package since 3.0.24-2, but it is > handled using ucf since then (including removal on purge). > > In my understanding of dpkg-maintscript-helper(1), a file that is > handled by ucf should _not_ be handled bai dpkg-mainscript-helper > rm_conffile. Did I get this wrong?
Well the problem is, that it *was* handled as dpkg conffile (and still is on any legacy) installation... so what would have needed to be done in the first place was perhaps something like: - cp -a it to temp location - rm_conffile it - move it back and from then on handle it via ucf But I'm not an expert... perhaps it's rather best if you'd ask at debian-devel or maybe the dpkg maintainers on how such a case should be handled? Cheers, Chris.