Thanks, it's good to finally have a complete log here. I don't understand why apt fails on that error instead of simply configuring the new libgcrypt20 first -- libgcrypt20 has no circular dependencies with systemd, it only depends on libgpg-error0 and libc6, and both are configured before. And then, after unpacking libgcrypt20, when it would be time to actually configure it, it instead tries to configure systemd.
This is an useful command to reduce the log to the interesting bits: egrep 'libgcrypt20|libgpg-error|libc6|systemd' /tmp/apt-term.log This sounds like a bug in apt to me, thus adding a task. ** Also affects: apt (Ubuntu) Importance: Undecided Status: New -- 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 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