On Fri, 10 Feb 2017 at 16:31:25 +0100, Louis Bouchard wrote: > The proposed systemd unit change would break : > > Unattended-Upgrade::InstallOnShutdown "true"; > > as the network is no longer available to fetch the archive.
You might be interested in unattended-upgrades patches that I wrote for SteamOS a few years ago: https://bugs.debian.org/741356 The SteamOS developers were concerned that an expectation that the network is up during shutdown was unrealistic, so I changed the behaviour to prepare and download an entire proposed upgrade and stash it in /var before notifying the user that they should reboot, invalidating the proposed upgrade if the apt state subsequently changes. A modified version of my patches seems to be still in production use. Unfortunately it seems the unattended-upgrades maintainer hasn't been able to review or integrate these. S