Julian,

Thanks.

On Tue, Aug 27, 2019 at 08:26:30PM +0200, Julian Andres Klode wrote:
> > I suggest that --abort-after=1 should be apt's default when forcing package
> > removal.
> 
> APT is the wrong place for that. We're trying to move to a future where
> we only tell dpkg all the actions to do and then run a single dpkg, so
> adding hacks like that feels counter-intuitive.
> 
> If we agree that this is a good thing to do, dpkg should do it.

OK, then I suppose from dpkg's point of view it should not go on to remove a
package's dependencies (in this case libsystemd0) if the prerm fails. Or the
default for --abort-after (currently 50) is wrong; perhaps it should be 1 when
dpkg is being invoked by APT?

Looking at the changelog the default for --abort-after was fixed in February
1999 (https://bugs.debian.org/22940) when APT was barely out of experimental.

Mark

Reply via email to