Package: unattended-upgrades Version: 2.9.1+nmu3 Severity: normal X-Debbugs-Cc: none, Dave Love <dave.l...@manchester.ac.uk>
The commented-out recipe for backports is wrong, confusing codename and suite. I corrected that in the attached patch and added a codename variant. I'm reporting against stable, but it's unchanged in the repo. -- System Information: Debian Release: 12.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (100, 'bookworm-fasttrack'), (51, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.7.12+bpo-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages unattended-upgrades depends on: ii debconf [debconf-2.0] 1.5.82 ii lsb-release 12.0-1 ii python3 3.11.2-1+b1 ii python3-apt 2.6.0 ii python3-dbus 1.3.2-4+b1 ii python3-distro-info 1.5+deb12u1 ii sysvinit-utils [lsb-base] 3.06-4 ii ucf 3.0043+nmu1 ii xz-utils 5.4.1-0.2 Versions of packages unattended-upgrades recommends: ii anacron 2.3-36 ii cron [cron-daemon] 3.0pl1-162 ii systemd-sysv 252.26-1~deb12u2 Versions of packages unattended-upgrades suggests: ii bsd-mailx 8.1.2-0.20220412cvs-1 ii needrestart 3.6-4+deb12u1 ii postfix [mail-transport-agent] 3.7.11-0+deb12u1 ii powermgmt-base 1.37 ii python3-gi 3.42.2-3+b1 -- debconf information: * unattended-upgrades/enable_auto_updates: true
diff --git a/apt/apt.conf.d/50unattended-upgrades b/apt/apt.conf.d/50unattended-upgrades index 1036e10..899f3ce 100644 --- a/apt/apt.conf.d/50unattended-upgrades +++ b/apt/apt.conf.d/50unattended-upgrades @@ -31,6 +31,7 @@ Unattended-Upgrade::Origins-Pattern { "origin=Debian,codename=${distro_codename},label=Debian"; "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 @@ -39,7 +40,7 @@ Unattended-Upgrade::Origins-Pattern { // "o=Debian,a=stable"; // "o=Debian,a=stable-updates"; // "o=Debian,a=proposed-updates"; -// "o=Debian Backports,a=${distro_codename}-backports,l=Debian Backports"; +// "o=Debian Backports,a=stable-backports,l=Debian Backports"; }; // Python regular expressions, matching packages to exclude from upgrading