Comment 7 for bug 1690980

Revision history for this message
ethan.hsieh (ethan.hsieh) wrote : Re: No pop-up window to warn users that system should not reboot or shutdown while installing security updates

@Brian Murray

Here is the log which I uploaded in #1
//dpkg.log
2017-05-12 08:22:24 status unpacked linux-headers-4.4.0-75:all 4.4.0-75.96
2017-05-12 08:22:24 install linux-headers-4.4.0-75-generic:amd64 <none> 4.4.0-75.96
2017-05-12 08:22:24 status half-installed linux-headers-4.4.0-75-generic:amd64 4.4.0-75.96
//term.log
Selecting previously unselected package linux-headers-4.4.0-75.
Preparing to unpack .../linux-headers-4.4.0-75_4.4.0-75.96_all.deb ...
Unpacking linux-headers-4.4.0-75 (4.4.0-75.96) ...
Selecting previously unselected package linux-headers-4.4.0-75-generic.
Preparing to unpack .../linux-headers-4.4.0-75-generic_4.4.0-75.96_amd64.deb ...
Unpacking linux-headers-4.4.0-75-generic (4.4.0-75.96) ...

In my case, the installation of linux-header/linux-image was interrupted, and then system failed to boot to Ubuntu desktop. unattended-upgrades had no chance to finish the installation. It looks like not all packages can be recovered after reboot.
It seems to me that the ideal way is that reboot/shutdown is blocked until unattended-upgrades finishes secure update.