This bug was fixed in the package dkms - 2.8.7-2ubuntu1
--------------- dkms (2.8.7-2ubuntu1) jammy; urgency=medium
* d/p/prerm-hook-parsing: fix parsing of module name and version during kernel removal so that DKMS modules actually get removed when kernels are removed. LP: #1963835.
-- Robie Basak <email address hidden> Fri, 01 Apr 2022 13:54:42 +0100
This bug was fixed in the package dkms - 2.8.7-2ubuntu1
---------------
dkms (2.8.7-2ubuntu1) jammy; urgency=medium
* d/p/prerm- hook-parsing: fix parsing of module name and version during
kernel removal so that DKMS modules actually get removed when kernels are
removed. LP: #1963835.
-- Robie Basak <email address hidden> Fri, 01 Apr 2022 13:54:42 +0100