Bug#1110414: systemd-sysv: Missing versioned dependency on libsystemd-shared

Michael Biebl biebl at debian.org
Tue Aug 5 10:43:39 BST 2025


On Tue, 5 Aug 2025 01:28:27 +0200 Samuel Thibault <sthibault at debian.org> 
wrote:
> Package: systemd-sysv
> And then I lost the box. On restart I am getting:
> 
> /sbin/init: error while loading shared libraries: libsystemd-core-252.so: cannot open shared object file: No such file or directory
> 

...

> So it upgraded libsystemd-shared but didn't upgrade systemd-sysv
> alongside, and thus /sbin/init is now broken...
> 
> systemd-sysv must have a versioned dependency on libsystemd-shared to
> avoid such situation.



The systemd-sysv package only provides a bunch of compat symlinks, no 
actual binaries.

The actual binaries are shipped in the systemd package, which it has a 
strictly versioned dependency on.
The systemd binary package itself has a strictly versioned dependency on 
libsystemd-shared.

I thus think adding a versioned dependency on libsystemd-shared would 
not help in your case.

I'm curious about this line:
 > Suppression de sysvinit (2.88dsf-59) ...

Do you have some sysvinit left-overs which could have prevented the 
upgrade of systemd?



Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20250805/ac3c16a6/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list