I built a new version of unattended-upgrades with Balint's patch and tested it on an Ubuntu 16.04 system. I used the attached modified version of the reboot script provided by Ethan and saw the following in the terminal which I had run "sudo unattended-upgrade --debug --verbose":
Preparing to unpack .../libc6-dev_2.23-0ubuntu9_amd64.deb ... Unpacking libc6-dev:amd64 (2.23-0ubuntu9) over (2.23-0ubuntu3) ... Connection to clean-xenial-amd64.local closed by remote host. Connection to clean-xenial-amd64.local closed. The system ended up in a state where I had to run 'sudo dpkg --configure -a' and then 'sudo apt-get -f install'. ** Attachment added: "script to reboot" https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1690980/+attachment/4912389/+files/u-u-reboot.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1690980 Title: unattended-upgrades does not block shutdown of system, as it is designed to To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1690980/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
