You are wrong. When dkms package is not installed, on kernel upgrade old headers are automatically deleted. You can verify that yourself. The problem is that dkms package has "linux-headers" in dependencies which is a virtual package that lists all possible versions of linux- headers-*. It should instead depend on either of linux-headers-generic, linux-headers-server, linux-headers-virtual, etc. These metapackages always depend on latest version of linux-headers-* allowing old headers to be automatically uninstalled.
It's not a bug in dkms itself, but a bug in it's packaging. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/963011 Title: dkms package causes linux-headers-* packages stay in the system forever consuming disk space To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/963011/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
