dkms wrong version of linux-headers

Bug #318727 reported by Michele Mordenti
52
This bug affects 3 people
Affects Status Importance Assigned to Milestone
dkms (Debian)
Fix Released
Unknown
dkms (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: dkms

OS: Ubuntu Server intrepix Ibex 8.10
Kernel: 2.6.27-9-server

When trying to install dkms it wants to install "linux-headers-2.6.27-3-rt" instead of "linux-headers-2.6.27-9-server", so any module fails to compile.

Workaround:
 # apt-get install linux-headers-server
that brings the right header version of running kernel.

Below the result of command:
LANG=C sudo apt-get install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  fakeroot gcc gcc-4.3 libc6-dev libgomp1 linux-headers-2.6.27-3-rt
  linux-libc-dev make
Suggested packages:
  gcc-multilib manpages-dev autoconf automake1.9 libtool flex bison gdb
  gcc-doc gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc gcc-4.3-locales
  libgcc1-dbg libgomp1-dbg libmudflap0-dbg glibc-doc make-doc
The following NEW packages will be installed:
  dkms fakeroot gcc gcc-4.3 libc6-dev libgomp1 linux-headers-2.6.27-3-rt
  linux-libc-dev make
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.7MB of archives.
After this operation, 73.3MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

Revision history for this message
Mario Limonciello (superm1) wrote :

Yes it does install the wrong version depending on what kernel you start with, but it's not resolvable until sticky dependencies are introduced in apt.

Changed in dkms:
importance: Undecided → Medium
status: New → Triaged
Changed in dkms (Debian):
status: Unknown → Fix Released
Changed in dkms (Debian):
status: Fix Released → New
Changed in dkms (Debian):
status: New → Fix Released
Revision history for this message
Mario Limonciello (superm1) wrote :

This has been fixed in Ubuntu for some time since we're in sync with Debian.

Changed in dkms (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.