I have a similar problem on Mint 18/Ubuntu 16: sudo apt-get purge linux-image-4.4.0-xx-generic linux-headers-4.4.0-xx
and it shows the message: dpkg: warning: while removing linux- image-4.4.0-xx-generic, directory '/lib/modules/4.4.0-xx-generic' not empty so not removed In /lib/modules/ 4.4.0-21-generic 4.4.0-45-generic 4.4.0-62-generic 4.4.0-34-generic 4.4.0-47-generic 4.4.0-64-generic 4.4.0-36-generic 4.4.0-59-generic 4.4.0-66-generic and in ever such dirs there is only the subdir updates with inside: vboxguest.ko vboxsf.ko vboxvideo.ko -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/300773 Title: Removal does not clean up after dkms, l-r-m(?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/300773/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs