Closed jamrok closed 7 years ago
Hi @jamrok thaks for opening this issue and contributing with the fix.
While kthresher is not doing what you expect it is doing the corresponding kernel <--> header
by design, i.e. it will not remove a header of a kernel that is not candidate for removal nor remove a header of a kernel that is not installed.
Anyway, that design is probably not the most accurate, and I've been thinking about this for a while and your proposal makes sense to me as is unlikely that someone will make use of headers without a kernel image and mostly being a candidate for auto-removal.
Ok, this was fixed when merged #44 closing this one.
The -H option doesn't remove headers when the corresponding kernel images have already been removed.
The following are the available packages that were detected for autoremoval:
This has been corrected in PR #44.
The new expected behaviour is shown below:
The following confirms that the existing behaviour also works as expected: