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.
@Brian Murray
Here is the log which I uploaded in #1 4.4.0-75: all 4.4.0-75.96 4.4.0-75- generic: amd64 <none> 4.4.0-75.96 4.4.0-75- generic: amd64 4.4.0-75.96 4.4.0-75. headers- 4.4.0-75_ 4.4.0-75. 96_all. deb ... 4.4.0-75 (4.4.0-75.96) ... 4.4.0-75- generic. headers- 4.4.0-75- generic_ 4.4.0-75. 96_amd64. deb ... 4.4.0-75- generic (4.4.0-75.96) ...
//dpkg.log
2017-05-12 08:22:24 status unpacked linux-headers-
2017-05-12 08:22:24 install linux-headers-
2017-05-12 08:22:24 status half-installed linux-headers-
//term.log
Selecting previously unselected package linux-headers-
Preparing to unpack .../linux-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../linux-
Unpacking linux-headers-
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.