sudo nano /etc/apt/apt.conf.d/50unattended-upgrades

Category: VPS Management

sudo nano /etc/apt/apt.conf.d/50unattended-upgrades

Edit the unattended-upgrades policy file

This is the master config for automatic updates: Allowed-Origins lists which package origins may install themselves (security by default), and Automatic-Reboot governs post-update reboots. Changes apply on the next run, no restart needed. Commented lines are examples — uncomment the section you actually want.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.