Bug#945582: systemd: Upgrade fails due to missing library libsystemd-shared-241.so

Ansgar ansgar at 43-1.org
Wed Nov 27 14:05:44 GMT 2019


On Wed, 2019-11-27 at 11:49 +0000, Graham Cobb wrote:
> I am upgrading my debian testing system but the upgrades fail as systemd cannot be configured.
> 
> Output from dpkg --configure systemd:
> 
> Setting up systemd (243-8) ...
> systemd-machine-id-setup: error while loading shared libraries: libsystemd-shared-241.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

Hmm, this is strange.  When the package is configured, it should
already be extracted.  And systemd-machine-id-setup from systemd-243
shouldn't link against a libsystemd-shared-241.so.

You said your system doesn't have merged-/usr, so I wonder why there
seems to be /usr/bin/systemd-machine-id-setup and libsystemd-shared-
241.so in /usr.

Could you run

  ls -l /usr/bin/systemd-machine-id-setup \
        /bin/systemd-machine-id-setup \
        /usr/lib/systemd/libsystemd-shared* \
        /lib/systemd/libsystemd-shared*

I suspect there are some old binaries (from systemd-241) around for
some reason.

Ansgar



More information about the Pkg-systemd-maintainers mailing list