From d10bb0e835967cc73a22e6db4b8f069922c2fffd Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sat, 29 Jul 2023 19:23:51 -0400 Subject: [PATCH] upgrades: Use n= for unattended-upgrades origin pattern In the Debian bookworm-backports repository, the Suite has changed to "stable-backports". The Codename is the more specific "bookworm-backports". Tests: - Build a freedombox package for bookworm-backports with a smaller version number than the package in bookworm-backports. Install it in bookworm vagrant box. - Run a manual update. freedombox is upgraded to the version in bookworm-backports. Closes: #2368. Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- .../upgrades/data/etc/apt/apt.conf.d/60unattended-upgrades | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/upgrades/data/etc/apt/apt.conf.d/60unattended-upgrades b/plinth/modules/upgrades/data/etc/apt/apt.conf.d/60unattended-upgrades index 363873f00..1e2506132 100644 --- a/plinth/modules/upgrades/data/etc/apt/apt.conf.d/60unattended-upgrades +++ b/plinth/modules/upgrades/data/etc/apt/apt.conf.d/60unattended-upgrades @@ -12,7 +12,7 @@ Unattended-Upgrade::Remove-Unused-Dependencies "true"; // ignored. Only packages that have higher priority set explicitly will get // upgraded. Only selected FreedomBox packages have high priority set on them. Unattended-Upgrade::Origins-Pattern { - "o=Debian Backports,a=${distro_codename}-backports,l=Debian Backports"; + "o=Debian Backports,n=${distro_codename}-backports,l=Debian Backports"; }; // Automatically reboot *WITHOUT CONFIRMATION* if