Bug#1023124: libsystemd-shared-251.so: cannot open shared object file

Ansgar ansgar at debian.org
Sun Oct 30 12:52:51 GMT 2022


On Sun, 2022-10-30 at 13:34 +0100, Salvo "LtWorf" Tomaselli wrote:
> Preconfiguring packages ...
> Setting up systemd (252~rc3-2) ...
> systemd-machine-id-setup: error while loading shared libraries: libsystemd-shared-251.so: cannot open shared object file: No such file or directory
> dpkg: error processing package systemd (--configure):
>  installed systemd package post-installation script subprocess returned error exit status 127
> Errors were encountered while processing:
>  systemd
> E: Sub-process /usr/bin/dpkg returned an error code (1)

The /bin/systemd-machine-id-setup shipped in the systemd 252~rc3-2
package is linked against libsystemd-shared-252.so, not libsystemd-
shared-251.so.

Please check all paths given in the PATH used when calling dpkg/apt for
systemd-machine-id-setup (e.g., by using `which -a systemd-machine-id-
setup` with the correct PATH) and report their location and sha1 hash
(sha1sum /bin/systemd-machine-id-setup ...).

Please also report the output of `ls -ld /bin /usr/bin` and whether the
system is merged-/usr already or not.

Ansgar



More information about the Pkg-systemd-maintainers mailing list