Comment 5 for bug 300773

Revision history for this message
Andy Whitcroft (apw) wrote :

Ok this seems pretty simple to clear up in dkms itself. When removing a kernel we envoke a dkms remove on every installed dkms package for that kernel. Once we have done that we can simply remove the the updates/dkms directory.

With the attached debdiff applied to dkms it will attempt to 'gently' remove the updates/dkms hierachy. Where all of the dkms packages are gone the directories can be removed and the normal cleanup of the /lib/modules/<version> directory will occur.