systemd.prerm does not do much really, so I figure it's one of the dpkg- maintscript-helper mv_conffile calls that failed. Can you please enable some debugging with
sudo sed -i '2 s/^.*/set -x/' /var/lib/dpkg/info/systemd.prerm sudo apt-get install --reinstall systemd and see if you still get this error? Please copy&paste the entire output. ** Changed in: systemd (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1570310 Title: package systemd 229-4ubuntu4 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1570310/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs