Unattended upgrades in Ubuntu

Andrew Bolster
Data Science Engineering Manager at WhiteHat Security, Trustee at Farset Labs and Vault Artist Studios
_Never having to think about updates again _ is a good thing in my head, so here’s how to set up Unattended Upgrades under Ubuntu for fun and profit.
$ sudo apt-get install unattended-upgrades
$sudo vim /etc/apt/apt.conf.d/50unattended-upgrades
Uncomment the line // "${distro_id}:${distro_codename}-updates";
$ sudo vim /etc/apt/apt.conf.d/10periodic
Make it look like this
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "7";
APT::Periodic::Unattended-Upgrade "1";