LLI Wiki — My Digital Knowledge Base

Ubuntu: enable or disable automatic updates (unattended-upgrades)

Install and configure unattended-upgrades on Ubuntu/Debian, with a link to a detailed guide.

On Ubuntu and Debian, the unattended-upgrades package automatically installs updates (notably security updates). A detailed guide is available here: Enable or disable unattended upgrades on Ubuntu (LinuxHint).

Common commands:

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

Settings live in /etc/apt/apt.conf.d/50unattended-upgrades (allowed origins, automatic reboot...) and /etc/apt/apt.conf.d/20auto-upgrades (frequency).

Mastodon LLIMastodon SocialFosstodon