From da79c9264a52a341b2b4eaf05c6d97e75f88f711 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 9 Apr 2023 10:54:16 +0200 Subject: [PATCH] Unattend-upgrades upgrade also debian-updates and debian-backports Signed-off-by: Emmy D'Anello --- roles/apt/templates/apt/apt.conf.d/50unattended-upgrades.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/apt/templates/apt/apt.conf.d/50unattended-upgrades.j2 b/roles/apt/templates/apt/apt.conf.d/50unattended-upgrades.j2 index eb3bd91..a27e272 100644 --- a/roles/apt/templates/apt/apt.conf.d/50unattended-upgrades.j2 +++ b/roles/apt/templates/apt/apt.conf.d/50unattended-upgrades.j2 @@ -28,11 +28,12 @@ Unattended-Upgrade::Origins-Pattern { // archives (e.g. from testing to stable and later oldstable). // Software will be the latest available for the named release, // but the Debian release itself will not be automatically upgraded. -// "origin=Debian,codename=${distro_codename}-updates"; -// "origin=Debian,codename=${distro_codename}-proposed-updates"; "origin=Debian,codename=${distro_codename},label=Debian"; + "origin=Debian,codename=${distro_codename}-updates"; + "origin=Debian,codename=${distro_codename}-proposed-updates"; "origin=Debian,codename=${distro_codename},label=Debian-Security"; "origin=Debian,codename=${distro_codename}-security,label=Debian-Security"; + "origin=Debian Backports,codename=${distro_codename}-backports,label=Debian Backports" // Archive or Suite based matching: // Note that this will silently match a different release after