openvswitch-datapath-dkms neads linux-headers

Bug #962150 reported by David Medberry
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
openvswitch (Ubuntu)
Opinion
Low
Unassigned

Bug Description

To successfully "apt-get install openvswitch-datapath-dkms" there needs to be a dependency or recommends for linux-headers. When installing this in an oneiric virtual machine, the kernel modules don't build without this. I see a recommends for linux-headers in dkms but I'm not sure that gets pulled in when running the "apt-get install openvswitch-datapath-dkms" the first time.

Ubuntu 11.10
Source: openvswitch
Version: 1.2.0-1ubuntu3

And all of this looks similar in Precise.

Revision history for this message
James Page (james-page) wrote :

Hi Dave

Looking at the dependencies of this package - specifically dkms:

Recommends: fakeroot, menu | sudo, linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers, linux-image

I think that this is not a direct dependency because you have to ensure that the correct headers are installed for the type of kernel you are using.

What type of kernel is your VM using?

Changed in openvswitch (Ubuntu):
importance: Undecided → Low
Revision history for this message
David Medberry (med) wrote :

stack@server-71609:~$ uname -r
3.0.0-12-virtual

Revision history for this message
James Page (james-page) wrote :

Dave

I was reminded of the bug when I hit it again myself.

I'm not sure there is much we can do - but I'm going to push it through to triaged

Changed in openvswitch (Ubuntu):
status: New → Triaged
Revision history for this message
Adam Conrad (adconrad) wrote :

Packaged depending on headers will universally always be wrong, as they can't divine which kernel you have installed. The correct thing to do is to have the 'linux-$flavour' package installed matching your kernel flavour, which will make sure your headers are always in sync. All our sane installers do this for you from the get-go.

James Page (james-page)
Changed in openvswitch (Ubuntu):
status: Triaged → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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