On Thu, 15 Aug 2019 at 18:33:20 +0200, Thorsten Glaser wrote:
> On Thu, 15 Aug 2019, Mark Hindley wrote:
> > At this point apt has failed to remove systemd/241-7 which depends on 
> > libsystemd
> > (=241-7). Surely it should not then go on to try and remove the systemd
> > dependency?
> 
> Unsure if that’s apt or dpkg. Plus, the failing prerm is in systemd,
> not in libsystemd0.

I think this is probably dpkg, but it's dpkg being told what to do by
apt, so it could be either one causing this. I would have hoped that if
systemd.prerm fails, that's a fairly heavy hint that not only is it not
OK to remove systemd at this time, it's also not OK to remove systemd's
dependencies.

I still wonder whether apt/dpkg are being forced into this by libelogind0
using Conflicts rather than Breaks - Conflicts is a stronger relationship
than Breaks, and forces libsystemd0 to be removed altogether, not just
deconfigured (marked as "broken"), before unpacking libelogind0. That
means there's an unavoidable window during which libsystemd0 no longer
provides libsystemd.so.0, but libelogind0 doesn't provide it yet.

    smcv

Reply via email to