On Thu, 31 Oct 2024 22:35:38 +0100
Andreas Beckmann <a...@debian.org> wrote:

> Can you reproduce this manually in a minimal chroot with debsums 
> installed where you install init-system-helpers, install runit-init, 
> remove runit-init?
> And frequently check with debsums -ac --ignore-obsolete

I can reproduce in debootstrap chroot, but

> The copying bits in the prerm belong to the preinst (when the "other" 
> variant is still there), otherwise you copy (and restore) the "runit" 
> variant.

after I moved copying bits in the prerm piuparts no longer fails; I
still don't understand exactly why dpkg does not create diverted copy
when the diversion is added and it doesn't restore it on removal, it
doesn't seem safe to me..
Anyway this is not a bug in piuparts nor in debsums, so this can be
closed.
Sorry for the noise and thanks for the hint

Lorenzo

> 

> 
> Andreas
> 

Reply via email to