This bug was fixed in the package packagekit - 1.2.5-1ubuntu1 --------------- packagekit (1.2.5-1ubuntu1) jammy; urgency=low
* Merge from Debian unstable. Remaining changes: - debian/control: Added recommends for packagekit-installer * 1.2.5 fixes manually installed kernel updates (LP: #1914278) packagekit (1.2.5-1) unstable; urgency=medium * New upstream version: 1.2.5 Notable changes: - aptcc: Do not mark all updates as manually installed - aptcc: Apply auto/manual state from previously resolved pkgids when needed - aptcc: Attempt to fix broken packages again when system repair is requested - aptcc: Correctly list all the available package versions - aptcc: Display an excerpt of dpkg's log on error instead of not failing at all - aptcc: Emit only the first, likely highest-quality error when dpkg fails - aptcc: Make package downgrades work again - aptcc: Return local file listings in the same format as installed ones - Add flags to D-Bus offline invoking methods - Properly handle allow-reinstall flag for installations - Provide better error message if trying to install an installed package - Wait until online to activate systemd service * policy: Allow any inactive user to refresh the package cache as well (Closes: #965030) * Update symbols file * Mark d/rules as not requiring root * Bump dh compat level to 13 * Drop some no longer needed breaks constraints * policy: Allow any user to trigger offline updates by default (Closes: #1003141) * Remove 2 obsolete maintscript entries in 1 files (thanks, Janitor!) * Set upstream metadata fields: Bug-Database, Contact (thanks, Janitor!) -- Julian Andres Klode <juli...@ubuntu.com> Mon, 21 Feb 2022 10:40:12 +0100 ** Changed in: packagekit (Ubuntu Jammy) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1914278 Title: Kernel updates marked as "manually installed", prevents old kernels cleanup Status in apt package in Ubuntu: Invalid Status in discover package in Ubuntu: Invalid Status in packagekit package in Ubuntu: Fix Released Status in unattended-upgrades package in Ubuntu: Invalid Status in apt source package in Jammy: Invalid Status in discover source package in Jammy: Invalid Status in packagekit source package in Jammy: Fix Released Status in unattended-upgrades source package in Jammy: Invalid Bug description: With the machines I help administer, we have been finding situations where the /boot directory is filling-up beyond 3 kernels on LUKS encrypted systems. apt autoremove is not removing old kernels as expected. This may also be an issue with unattended-upgrades since I found the following line commented-out by default: // Remove unused automatically installed kernel-related packages // (kernel images, kernel headers and kernel version locked tools). // Unattended-Upgrade::Remove-Unused-Kernel-Packages "true"; We have had a system with as many as 15 kernel packages installed as a result of this not working as expected. The majority of these machines are using Discover to do their package upgrading, which uses PackageKit as its backend. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: apt 2.0.4 ProcVersionSignature: Ubuntu 5.8.0-41.46~20.04.1-generic 5.8.18 Uname: Linux 5.8.0-41-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.14 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: KDE Date: Tue Feb 2 09:29:01 2021 InstallationDate: Installed on 2020-11-07 (87 days ago) InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) SourcePackage: apt UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1914278/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp