As far as I can tell, unattended upgrades have been implemented i Debian 9 (Stretch). I am not sure, if it has always been like that in Stretch or is the result of some upgrade along the way. I have a number of Debian 9 (xfce) installations and they all set up like the following.
In "/etc/apt/apt.conf.d/20auto-upgrades" I see these lines:
Code: Select all
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";.
and in "/etc/apt/apt.conf.d/50unattended-upgrades" this (commented out lines removed):
Code: Select all
Unattended-Upgrade::Origins-Pattern {
"origin=Debian,codename=${distro_codename},label=Debian-Security";
};
As I understand it, these settings mean that "debian-security" upgrades are done automatically and unattended.
Can you confirm my findings?