@Balint Here is test result for InstallOnShutdown:true
"Errors were encountered while processing: apport" u-u still has packages to upgrade after this issue happens. So, when I reboot system every time, u-u still tries to upgrade package. We expect that there are 30 mins to do the update. But, dependency problem will prevent u-u from upgrading packages. 1. unattended-upgrades-shutdown.log: (Please check full log as attached) ---------------- 2017-09-22 14:54:25,865 WARNING - Running unattended-upgrades in shutdown mode 14:54:25~14:55:54 => 1:29, u-u only takes 1:29 to upgrade packges. 2017-09-22 14:57:02,183 WARNING - Running unattended-upgrades in shutdown mode 14:57:02~14:58:30 => 1:28 2017-09-22 15:00:00,233 WARNING - Running unattended-upgrades in shutdown mode 15:00:00~15:01:28 => 1:28 ---------------- 2. unattended-upgrades-dpkg.log: ---------------- Log started: 2017-09-22 14:34:24 ... Preparing to unpack .../apport_2.20.1-0ubuntu2.10_all.deb ... Failed to get load state of apport-forward.socket: Connection reset by peer 2017-09-22 14:37:26,769 WARNING SIGTERM received, will stop Log ended: 2017-09-22 14:37:26 ---------------- Installed packages: apt (1.2.25-rbalint2) unattended-upgrades_0.96ubuntu1-16.04.1_all.deb ** Attachment added: "unattended-upgrades-shutdown.log, unattended-upgrades.log, apt log, and dpkg log" https://bugs.launchpad.net/oem-priority/+bug/1690980/+attachment/4954864/+files/log_0922_InstallOnShutdown.tar.gz -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1690980 Title: unattended-upgrades does not block shutdown of system, as it is designed to Status in OEM Priority Project: Triaged Status in OEM Priority Project xenial series: New Status in apt package in Ubuntu: Fix Released Status in unattended-upgrades package in Ubuntu: Fix Released Status in apt source package in Xenial: Triaged Status in unattended-upgrades source package in Xenial: New Status in apt source package in Zesty: Triaged Status in unattended-upgrades source package in Zesty: New Bug description: Title: No pop-up window to warn users that system should not reboot or shutdown while installing security updates Summary: No pop-up window to warn users that system should not reboot or shutdown while installing security updates Steps: 1. trigger unattended-upgrades 2. reboot or shutdown system while installing packages Expected results: There is a pop-up window to warn users that system should not reboot or shutdown Actual results: There is no pop-up window to warn users Additional information: $ apt-cache policy unattended-upgrades unattended-upgrades: Installed: 0.90 Candidate: 0.90ubuntu0.5 $ lsb_release -rd Description: Ubuntu 16.04 LTS To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1690980/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp