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

Dimitri John Ledkov launchpad at surgut.co.uk
Wed Jul 18 13:30:35 UTC 2018


Pre-Depends: libacl1 (>= 2.2.51-8), libblkid1 (>= 2.19.1), libc6 (>=
2.27), libcap2 (>= 1:2.10), libcryptsetup12 (>= 2:1.4), libgcrypt20 (>=
1.8.0), libidn11 (>= 1.13), libip4tc0 (>= 1.6.0+snapshot20161117),
liblz4-1 (>= 0.0~r130), liblzma5 (>= 5.1.1alpha+20120614), libseccomp2
(>= 2.3.1), libselinux1 (>= 2.1.9)

This is in 237-3ubuntu10.2 thus still correctly listing the new ABIs of
all the libsystemd0 libraries.

** 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:
  Fix Released

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