If unattended-upgrades is
1) launched by apt-daily,
2) upgrading packages under minimal steps,
3) signaled with SIGUSR1
Then it exits after the current operation, as expected. However,
unattended-upgrades-stamp and upgrade-stamp are both updated as if
everything had been done.
This means that whenever a system is shut down during the upgrade, the
updates that should have been installed on day D will now be delayed
It would seem more appropriate if u-a notified apt-daily that it
exited correctly but that the upgrade stamp should not be updated
because the operation did not finish.
What do you think?
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net