I set it to new. I had the same problem. I feel this should be
universally solved.

Related question: https://askubuntu.com/questions/1379811/usrmerge-of-
bin-sbin-lib-how-is-the-system-supposed-to-be

Perhaps related bug: https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=945582

- Is `/usr/lib/usrmerge/convert-usrmerge` really the solution users are 
supposed to run?
- Some systems have the whole directory /bin linked to /usr/bin, this is not 
what convert-usrmerge appears to do. This inconsistence should be explained and 
the "right" solution should be announced.

I worked around my failing upgrade via
- edit `/var/lib/dpkg/info/systemd.postinst` by hand
- find the line `systemd-machine-id-setup`
- comment it out
- run `sudo dpkg --configure -a` again

** Bug watch added: Debian Bug tracker #945582
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945582

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1938065

Title:
  systemd 248.3-1ubuntu2 fails to install (when upgrading 21.04->21.10)

Status in systemd package in Ubuntu:
  New

Bug description:
  This happened when trying to upgrade from 21.04 to 21.10.

  Setting up systemd (248.3-1ubuntu2) ...
  systemd-machine-id-setup: error while loading shared libraries: 
libsystemd-shared-247.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
  Processing triggers for initramfs-tools (0.140ubuntu6) ...
  update-initramfs: Generating /boot/initrd.img-5.11.0-25-generic
  Processing triggers for libc-bin (2.33-0ubuntu7) ...
  Processing triggers for man-db (2.9.4-2) ...
  Processing triggers for dbus (1.12.20-2ubuntu1) ...
  Errors were encountered while processing:
   systemd

  I reverted to old version by manualing installing the hirsute's debs
  (from 21.04: libsystemd0_247.3-3ubuntu3.4_i386.deb
  systemd_247.3-3ubuntu3.4_amd64.deb libnss-
  systemd_247.3-3ubuntu3.4_amd64.deb libsystemd-
  dev_247.3-3ubuntu3.4_amd64.deb systemd-sysv_247.3-3ubuntu3.4_amd64.deb
  libpam-systemd_247.3-3ubuntu3.4_amd64.deb
  libudev1_247.3-3ubuntu3.4_amd64.deb udev_247.3-3ubuntu3.4_amd64.deb
  libsystemd0_247.3-3ubuntu3.4_amd64.deb libudev-
  dev_247.3-3ubuntu3.4_amd64.deb)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1938065/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to