On Sun, 10 Aug 2025 13:16:13 +0100 Luca Boccassi <[email protected]> wrote:
Control: tags -1 moreinfo

The dependencies all look correct to me, so I'm not quite sure I follow
what the issue is.

Package: systemd-sysv
Version: 257.7-1
Depends: systemd (= 257.7-1)
Pre-Depends: systemd

Package: systemd
Version: 257.7-1
Pre-Depends: libc6 (>= 2.38), libsystemd-shared (= 257.7-1)

The problem afaics is, that systemd has a Pre-Depends on both the new libc6 and new libsystemd-shared.

Both are unpacked, then libc6.postinst triggered a daemon-reexec. At this point old systemd and new libsystemd-shared were installed → crash.

There has been corresponding commit in glibc at the meantime:

https://salsa.debian.org/glibc-team/glibc/-/commit/cab7833001ed8031e1cb834976518463b1d5f2fd

which should avoid this situation.


So I guess this issue is mitigated sufficiently for now so this issue can be closed.

Going forward, it might make sense to rename libsystemd-shared to libsystemd-shared-$VER, so they can be installed in parallel on major version upgrades. This would ensure that both systemd and systemctl remained functional during the upgrade and would make upgrades more robust.

Given that systemd is released bi-annually, the NEW churn would be manageable I think (way less worse than e.g. the kernel package).

Michael

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to