On Sun, Oct 23, 2016 at 12:08:53PM +0200, Stefan Fritsch wrote:
> Package: unattended-upgrades
> Version: 0.92
> Severity: grave
> 
> Dear Maintainer,
> 
> 
> When unattended-upgrades has to upgrade apt itself, it will be
> terminated and leaves the system in a state that requires manual
> intervention, like
> 
>   dpkg --reconfigure --pending
>   apt-get -f install
> 
> 
> A second bug is that this broken state does not lead to any mails being
> sent to root, and it may take a long time until it is discovered that
> updates do not work.
> 
> Possibly, apt is killed because systemd is killing all processes
> belonging to a service when that service is stopped/restarted and maybe
> apt restarts the daily apt service. 

Aha! I can reproduce this too. On the machines where this happens,
I believe I answered "yes" to a debconf question about restarting
services automatically (one of the times I upgraded by hand and not
using unattended-upgrades).

Maybe something like this would work as a workaround?

echo "libc6 libraries/restart-without-asking boolean false" | 
debconf-set-selections

Thanks a lot.

Reply via email to