Homelab

Automatic security updates for Debian and Ubuntu homelab hosts

unattended-upgrades applies security patches automatically while leaving big upgrades to you. Here's a sane homelab setup.

2026-11-03
Illustration: Automatic security updates for Debian and Ubuntu homelab hosts
Original illustration by SafeToUpdate (CC BY 4.0).

Container updates should be deliberate. Base OS security patches are a good candidate for automation, because they’re frequent, usually small, and important.

Debian

Per the Debian wiki:

sudo apt install unattended-upgrades apt-listchanges
sudo dpkg-reconfigure -plow unattended-upgrades

By default it installs updates from the security origin. Settings live in /etc/apt/apt.conf.d/50unattended-upgrades.

Ubuntu

Ubuntu Server enables unattended security upgrades by default. See Automatic updates to check or change the configuration.

Reboots

Kernel and libc updates need a reboot to take effect. You can either:

Where not to use it blindly

Proxmox VE hosts have their own upgrade guidance (apt dist-upgrade, cluster ordering). See our Proxmox post. Keep hypervisors on a deliberate update routine.

Check it’s working

Logs are in /var/log/unattended-upgrades/. Do a quick sudo unattended-upgrade --dry-run --debug after configuring.

Checklist

📬 The Weekend Patch Report

One email a week: what's safe to update, what will bite, and one practical tip for your homelab or printer.

Free, weekly, unsubscribe anytime.