Skip to content

Conversation

@randomnoise
Copy link
Contributor

@randomnoiserandomnoise 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:

ifkernel.installed:
ifpkg.is_installed:


Fixes#946

@mtwebstermtwebster merged commit a5ea6ae into linuxmint:masterJul 31, 2025
2 checks passed
@randomnoiserandomnoise deleted the purge-linux-tools-pkgs branch August 1, 2025 07:47
Sign up for freeto 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

@randomnoise@mtwebster