There’s several very valid tutorials and guides around about getting Ubuntu, Debian and Mint to automatically update and upgrade, but they don’t do much explaining/checking.
This is a short post filling in the gaps I observed.
Get the package sudo apt-get install unattended-upgrades -y
Enable the package scheduler File Being Messed With:
/etc/apt/apt.conf.d/20auto-upgrades
Log File Being Watched:
/var/log/unattended-upgrades/unattended-upgrades.log
I’ve got no idea why this isn’t automatic; possibly that in other environments, you only want security level upgrades to core system components rather than updating all regular applications. (Not doing this left me scratching my head for a while wondering why the logs kept saying No packages found that can be upgraded unattended when apt was telling me something completely different. Anyway, put the following into a new file named above.
...