In my /etc/apt/apt.conf.d/50unattended-upgrades I have:
At the same time,
When I exit the server and ssh in again, I can see
* * * System restart required * * *.
So as far as I can see, the upgrading of packages using apt-get should now trigger an immediate restart if the restart is required, which I know it is (see above two reasons why I believe it is required).
However, I can't trigger the automatic reboot - I would expect it to be triggered by
sudo apt-get upgrade but the command succeeds successfully and no restart happens.
What am I missing please?
Contents of /etc/apt/apt.conf.d/20auto-upgrades :
APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade 1; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "7"; APT::Periodic::CleanInterval "7"; APT::Periodic::Verbose "0";
Contents of /etc/apt/apt.conf.d/50unattended-upgrades : Unattended-Upgrade::Automatic-Reboot "true"; Unattended-Upgrade::Automatic-Reboot-Time "+0";