The proprietary drivers already depend on linux-headers-generic | linux- headers. The optional dependency here is because you might not have a linux-generic kernel installed; you might have linux-lowlatency, or linux-server, and in that case you need linux-headers-lowlatency or linux-headers-server insntalled; these Provide: linux-headers.
What has likely happened here is that you've installed, say, linux- headers-3.5.0-15-generic but have *not* got linux-headers-generic installed. In this case, linux-headers-3.5.0-15-generic Provides: linux- headers, so the dependency is satisfied, but you're going to try booting with linux-image-3.5.0-17-generic for which you don't have headers, so things will break. The real problem here is that dpkg does not have the ability to specify the real dependency here, which is “This package depends on linux- headers-$FOO for each linux-image-$FOO installed”. ** Also affects: dpkg (Ubuntu) Importance: Undecided Status: New ** Changed in: dpkg (Ubuntu) Importance: Undecided => Wishlist ** Summary changed: - nVidia proprietary drivers miss linux-headers-generic dependency + No way to specify correct dependency for dkms packages ** Summary changed: - No way to specify correct dependency for dkms packages + No way to specify correct dependencies for dkms packages ** Description changed: - nvidia-current-updates missed linux-headers-generic deps + Packages which use dkms require the linux-headers-$KERNEL_VER package to + be installed for each linux-image-$KERNEL_VER which is installed. + There's currently no way to specify this dependency. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers-updates in Ubuntu. https://bugs.launchpad.net/bugs/1068341 Title: No way to specify correct dependencies for dkms packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1068341/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp