Package: unattended-upgrades
Version: 2.9.1+nmu3
Severity: normal
File: /usr/bin/unattended-upgrade
X-Debbugs-Cc: [email protected]
I use the configuration fragment below:
Unattended-Upgrade {
Automatic-Reboot "false";
InstallOnShutdown "false";
Keep-Debs-After-Install "false";
MailReport "on-change";
MinimalSteps "false";
OnlyOnACPower "true";
Origins-Pattern {
"origin=Debian,codename=${distro_codename}-security",label="Debian-Security";
"origin=Debian,codename=${distro_codename}-updates",label="Debian";
"origin=Debian,codename=${distro_codename}",label="Debian";
"origin=Debian,codename=${distro_codename}-debug",label="Debian
debug";
};
Remove-New-Unused-Dependencies "true";
Remove-Unused-Kernel-Packages "true";
Remove-Unused-Dependencies "true";
};
Any time linux-image-amd64 pulls a new kernel, the oldest one found on the
system gets removed (as per Remove-Unused-Kernel-Packages) but not purged. It
would be desirable for this configuration key to purge the package, since
there's no point in leaving old kernel configurations installed.
Thanks!
Martin-Éric
-- System Information:
Debian Release: 12.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-29-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8), LANGUAGE=fi: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+deb12u1
ii xz-utils 5.4.1-0.2
Versions of packages unattended-upgrades recommends:
ii systemd-sysv 252.33-1~deb12u1
Versions of packages unattended-upgrades suggests:
ii bsd-mailx 8.1.2-0.20220412cvs-1
ii needrestart 3.6-4+deb12u3
ii nullmailer [mail-transport-agent] 1:2.2-4
ii powermgmt-base 1.37
ii python3-gi 3.42.2-3+b1
-- debconf information:
unattended-upgrades/origins_pattern:
"origin=Debian,codename=${distro_codename},label=Debian-Security";
* unattended-upgrades/enable_auto_updates: true