This bug has been fixed in unstable kernels. Shouldn't it be fixed in stable kernels too (as the fix is rather trivial)?
For instance, I still have -rw-r--r-- 1 root root 55 2024-10-04 15:30:49 /lib/modules/6.1.0-25-amd64/modules.weakdep while the kernel has been purged. So I got Purging configuration files for linux-image-6.1.0-25-amd64 (6.1.106-3) ... rmdir: failed to remove '/lib/modules/6.1.0-25-amd64': Directory not empty dpkg: warning: while removing linux-image-6.1.0-25-amd64, directory '/lib/modules/6.1.0-25-amd64' not empty so not removed -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)