DescriptionThe Debian unattended-upgrades packages is installed and activated
Check Script: system-unattended-upgrades.sh
if ! dpkg -l unattended-upgrades 2>/dev/null | grep -q '^ii'; then
result_failed "Package unattended-upgrades is not installed"
# Check for the config lines activating auto update of package list
# and the upgrade itself
for pattern in $patterns
if ! rgrep -q "$pattern" /etc/apt/apt.conf.d/; then
result_failed "Pattern >>>$pattern<<< not found /etc/apt/apt.conf.d/"