Attached is a trivial patch [in retrospective] I just committed upstream
which should fix this issue – I have only verified it by logchecking
with the two status files from the buglog (again: thanks!) through, I
haven't actually run it on a real system so testers welcome!

That should be easily backportable into 2011 (= the time this regression
was introduced) even if the surrounding code changed a bit over time.
Could potentially also be worked around with strategic duplication of
Pre-Depends in Depends. So, what going on? apt doesn't check if Pre-
Depends are satisfied before configuring but that is actually hard to
trigger as apt does check them for unpack and the window between unpack
and configure is usually very small as apt is actively trying to have it
very small (compare immediate configuration) so all my attempts at
constructing a testcase for it failed so far…

** Patch added: "0001-recheck-Pre-Depends-satisfaction-in-SmartConfigure.patch"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1560797/+attachment/4636054/+files/0001-recheck-Pre-Depends-satisfaction-in-SmartConfigure.patch

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

Title:
  package systemd-sysv 225-1ubuntu9.1 failed to install/upgrade:
  libgcrypt20 was unconfigured during 15.10 to 16.04 upgrade

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to