[Bug 1068341] Re: nVidia proprietary drivers miss linux-headers-generic dependency
Chris Halse Rogers
chris at cooperteam.net
Tue Oct 23 06:08:21 UTC 2012
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
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1068341
Title:
No way to specify correct dependencies for dkms packages
Status in “dpkg” package in Ubuntu:
New
Status in “nvidia-graphics-drivers-updates” package in Ubuntu:
Won't Fix
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1068341/+subscriptions
More information about the foundations-bugs
mailing list