Unattended Upgrades in Debian
Feels like since forever have I been using unattended-upgrades package to automate the Security upgrades on my various Debian Stable based machines.
Default Settings
By default unattended-upgrades
will install only Security updates. It also
will not send any email reports. That is not surprising – well, you have
to have email delivery configured and unattended-upgrades
needs to know, what
email address to send those reports to.
Tweaking the Config
If you need more than what the defaults give you, it’s easy to modify the
config as described in the Debian Wiki. I think the most
elegant way of customizing the configuration is described in the
README.md of the Debian package source. You basically create
/etc/apt/apt.conf.d/52unattended-upgrades-local
and put any overrides to the
default config you need.