Skip to content

Conversation

@randomnoise
Copy link
Contributor

@randomnoise randomnoise commented Jul 30, 2025

If there are installed residual linux-tools-VERSION and linux-tools-VERSION-KERNELTYPE packages, remove them with other kernel packages with the same version.

Also, just below this change, packages are checked for whether they are already installed, and then they are added to the purge list. So, the app doesn't try to remove linux-tools unconditionally:

if kernel.installed:
if pkg.is_installed:


Fixes #946

@mtwebster mtwebster merged commit a5ea6ae into linuxmint:master Jul 31, 2025
2 checks passed
@randomnoise randomnoise deleted the purge-linux-tools-pkgs branch August 1, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Old linux-tools packages are not removed on LM22.1 when removing old kernels

2 participants