unattended-upgrades package can download and install security upgrades automatically and unattended, taking care to only install packages from the configured APT source, and checking for dpkg prompts about configuration file changes.
This script is the backend for the APT::Periodic::Unattended-Upgrade option.
Install unattended-upgrades packageapt–get install unattended–upgrades
Configure this packagedpkg–reconfigure unattended–upgrades
In this setting Automatic Security Updates over.
The post Debian: download and install security upgrades automatically appeared first on Penetration Testing.