By now, I have more than one Raspberry Pi installed at home. Most of the time I do not want to care about them because they simply serve as a one-time setup, similar to my router. After I have configured everything to my needs, I just expect it to work. I do want to worry about updates or upgrades. I simply want everything to be up to date, all the time.
My solution for this on the Raspbarry Pi platform running Raspian is a simple combination of the two packages needrestart
and unattended-upgrades
. The former one will take care of all services that need to be restarted after any updates. The latter one will take care of automatic updates and upgrades (and restart the system, if necessary).
Because I have all my systems setup with LVM, there was one catch: Whenever a new kernel was installed I also had to be prepared for new kernels.