[Bug 1771791] Re: Need to pre-depend on stuff used by systemctl, so systemctl works in other package's preinst

Julian Andres Klode 1771791 at bugs.launchpad.net
Fri May 25 12:56:22 UTC 2018


Ran the dist-upgrade:

with bionic, bionic-updates:

Unpacking bluez (5.48-0ubuntu3) over (5.37-0ubuntu5.1) ...                   
systemctl: error while loading shared libraries: libcryptsetup.so.12: cannot open shared object file: No such file or directory


with bionic, bionic-updates, bionic-proposed (pinned to only allow src:systemd packages) it works fine. Well, it hangs in my container, but that might be a container thingy.


** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1771791

Title:
  Need to pre-depend on stuff used by systemctl, so systemctl works in
  other package's preinst

Status in systemd package in Ubuntu:
  Fix Committed
Status in systemd source package in Bionic:
  Fix Committed
Status in systemd source package in Cosmic:
  Fix Committed
Status in systemd package in Debian:
  New

Bug description:
  [Impact]
  systemd used to pre-depend on the libraries used by systemctl or something, but now systemctl uses libsystemd-shared, and there are no pre-depends for that, meaning that systemctl fails in maintainer scripts of other packages.

  [Test case]
  Grab the apt-clone file from comment #20 in bug 1766890, and upgrade it to bionic with apt dist-upgrade -o APT::Immediate-Configure=0. Make sure to not see error about missing libraries in systemctl.

  [Regression potential]
  Installation ordering changes. Might make things harder for apt to solve.

  [Other info]
  Debian 897986

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



More information about the foundations-bugs mailing list