linuxmint / linuxmint/mintupdate
Directories remain undeleted on kernel removal
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 425
- Forks
- 190
- PR merge metrics
- No merged PRs in 30d
Description
LM 22.1 MATE
After removing the old 6.8.0-53 kernel using the Remove function in the kernel section of the Update Manager, I was left with the following directories on my system. Would it be possible to also delete these for any given kernel as part of the removal code?
/usr/lib/linux-tools/6.8.0-53-generic/
/usr/lib/modules/6.8.0-53-generic/
/usr/share/doc/linux-tools-6.8.0-53/
/usr/share/doc/linux-tools-6.8.0-53-generic/
/var/lib/dpkg/info/linux-tools-6.8.0-53-generic.list
/var/lib/dpkg/info/linux-tools-6.8.0-53-generic.md5sums
/var/lib/dpkg/info/linux-tools-6.8.0-53.list
/var/lib/dpkg/info/linux-tools-6.8.0-53.md5sums
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the kernel removal function in the Update Manager and trace how package cleanup is handled for a removed kernel. Use the listed 6.8.0-53 paths as the cleanup target, then verify that the directories and package metadata are absent after removal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100