How to configure automated security updates on Debian automatically
Debian provides a package called “unattended-upgrades” to automate security updates. Here’s how you can configure it: Install the unattended-upgrades package: sudo apt-get install unattended-upgrades Open the configuration file: sudo nano /etc/apt/apt.conf.d/50unattended-upgrades Enable the automatic upgrade of security updates: Unattended-Upgrade::Allowed-Origins { “${distro_id}:${distro_codename}-security”; // “${distro_id}:${distro_codename}-updates”; // “${distro_id}:${distro_codename}-proposed”; // “${distro_id}:${distro_codename}-backports”; }; Enable email notifications for upgrades: Unattended-Upgrade::Mail “root”; … Read more