Skip to content
Simple Update

Automatic security updates

On Debian and Ubuntu, Preferences → Security Updates → Install Automatically has the system install security updates by itself, without the app running.

The work is done by unattended-upgrades, the distributions' own tool for this, from apt's daily timers. Simple Update only turns it on and off.

Turning it on#

Turning it off#

It sets APT::Periodic::Unattended-Upgrade to "0". The package lists are still refreshed every day, which the update notifications rely on, and unattended-upgrades stays installed.

Working with other tools#

Either way, the switch also records the choice as the package's debconf answer, unattended-upgrades/enable_auto_updates, which picks the template the package merges into 20auto-upgrades when it's upgraded. Only the choice matches: the package's template for off also stops the daily package list refresh, which the switch leaves on. If the answer can't be recorded, the switch says so and the setting still changes. A 20auto-upgrades.ucf-dist left beside the file is removed.

20auto-upgrades is the same file that dpkg-reconfigure unattended-upgrades and Ubuntu's Software & Updates change, so they all agree. If another file under /etc/apt/apt.conf.d overrides it, or sets APT::Periodic::Enable "0" (which stops all of apt's daily jobs), the switch can't be turned on, and the app says which setting is in the way.

What the switch shows#

The switch shows what is in effect, whichever tool set it. It is on only when apt's configuration has unattended-upgrades run and both timers are enabled and scheduled.

Timers stopped with systemctl stop would only start again at the next boot, so the switch shows off; turning it on starts them. About Simple Update → Troubleshooting → Debugging Information tells that case apart.

Which updates are installed#

That is unattended-upgrades' own configuration, /etc/apt/apt.conf.d/50unattended-upgrades, which Simple Update leaves alone.

Not on Arch Linux or Linux Mint#

Arch Linux and its derivatives don't get the switch. Arch has no separate security updates, partial upgrades aren't supported, and some upgrades need manual steps announced in the news first.

Linux Mint doesn't get it either. Mint keeps Ubuntu's (or on LMDE, Debian's) 50unattended-upgrades, whose origins are ${distro_id}:${distro_codename}-security. On Mint those expand to Linuxmint and Mint's own codename, which match none of its repositories, so turning it on would install nothing. Mint's Update Manager has automatic updates of its own. The helper refuses auto-updates-on there, but still accepts auto-updates-off.

View this page's source · Documentation for Simple Update 1.3.2