[Piuparts-devel] Bug#1086513: piuparts: wrong check (ERROR:) on missing files after dpkg-divert --no-rename

Lorenzo plorenzo at disroot.org
Thu Oct 31 23:40:07 GMT 2024


On Thu, 31 Oct 2024 22:35:38 +0100
Andreas Beckmann <anbe at 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
> 



More information about the Piuparts-devel mailing list