Unattended Upgrades - Linux auto updates

August 2, 2020 18:09


sudo apt install unattended-upgrades apt-listchanges


In /etc/apt/apt.conf.d/50unattended-upgrades uncomment:

//Unattended-Upgrade::Mail "root";

…to allow a regulray report about the updates. Also may change the Unattended-Upgrade::Allowed-Origins array to include a "*:*"; - this will allow automatic updates for all packages!

Test with (check for the matching string messages!!!): sudo unattended-upgrade --debug --dry-run