[Bug 1068341] Re: No way to specify correct dependencies for dkms packages (nvidia driver install fails to get matching header)

Lekensteyn 1068341 at bugs.launchpad.net
Thu Nov 15 13:54:03 UTC 2012


Since 12.10, the kernel header packages for Ubuntu are not installed by
default. This breaks all DKMS modules, including virtualbox and nvidia-
current. I maintain the DKMS module "bbswitch" and it is tempting to add
a dependency on "linux-headers-generic" because Ubuntu/dkms screws this
up.

DKMS is used for building kernel modules, without headers it cannot do
anything. In Raring, the dependency on linux-headers is completely
removed, trusting the initial Ubuntu installer even more. Is this
reasonable? I don't think so, the dependencies should be handled by
dpkg, not by the installer. If DKMS cannot function without kernel
headers, it MUST install kernel headers.

** Also affects: dkms (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1068341

Title:
  No way to specify correct dependencies for dkms packages (nvidia
  driver install fails to get matching header)

Status in “dkms” package in Ubuntu:
  New
Status in “dpkg” package in Ubuntu:
  Triaged
Status in “nvidia-graphics-drivers-updates” package in Ubuntu:
  Won't Fix
Status in “software-properties” package in Ubuntu:
  Triaged

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.

  ---

  This bug is caused by the allowing of eg. linux-lowlatency kernel's
  headers, while the actual bug people are hitting is bug #1068488 ie.
  the Ubuntu 12.10 installer doesn't install linux-headers-generic by
  default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1068341/+subscriptions




More information about the foundations-bugs mailing list