"linux-modules-cleanup.service" is not automatically called on Kernel updates

There’s been a few weeks of idleness, so I think it’s time to put together the best solution post I can… as the solution is multi-fold depending on your course of action.

To answer the original question/issue about why clean-up in the /lib/modules/ folder was not happening… it really boils down to knowing the tool you are trying to use; whether that be kernel-alive or (in my case) kernel-modules-hook. As it turns out, even though I’d installed the package, I had not started/enabled its service for it to be used/called…

I feel that step alone would have resolved my original question… but was kernel-modules-hook even required in my case?

So seeing as I always reboot after applying system updates manually, tools like kernel-alive and kernel modules-hook aren’t required… and in my use case, the best solution was to remove the package/service entirely.

  1. Don’t forget to shutdown the services; which will purge its symlinks before removal
  1. and uninstall the application/service…

Did uninstalling kernel-modules-hook enable/allow the default hooks/process during an update to clean-up the /lib/modules folder? Yes it did! (with one minor clean-up required; a folder created by the package)