Unattended Upgrade

Einrichten bei Ubuntu 20.04 (nur da getestet)

Folgende Optionen in der /etc/apt/apt.conf.d/50unattended-upgrades setzen (Kommentarzeichen // weg machen)

        "${distro_id}:${distro_codename}-updates";

Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
Unattended-Upgrade::Remove-Unused-Dependencies "true";
Unattended-Upgrade::Automatic-Reboot "true";
Unattended-Upgrade::Automatic-Reboot-Time "03:45";

Inhalt der /etc/apt/apt.conf.d/20auto-upgrades

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "7";
APT::Periodic::Unattended-Upgrade "1";