openvswitch-datapath-dkms package depends on missing kernel headers

Bug #1177058 reported by jimp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openvswitch (Ubuntu)
New
Undecided
Unassigned

Bug Description

Release: Ubuntu 12.04 LTS

As I was diagnosing this bug I reported [ https://bugs.launchpad.net/ubuntu/+source/xen-api/+bug/1176256 ], I discovered that my issue was really related to openvswitch-datapath-dkms requiring kernel headers that were not installed. Once I manually installed the kernel headers the error output suggested, the installation completed without error.

Should the openvswitch-datapath-dkms package depend on the kernel headers in order to install correctly?

jimp (jimmy-basicmatrix)
affects: xen-api (Ubuntu) → openvswitch (Ubuntu)
Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

I don't think so. If there's a package to fix, it would be dkms itself, not openvswitch-datapath-dkms. In Debian, we have:

Package: dkms
Depends: module-init-tools, gcc, make | build-essential | dpkg-dev, coreutils (>= 7.4), patch
Recommends: fakeroot, menu | sudo, linux-headers-686-pae | linux-headers-amd64 | linux-headers-generic | linux-headers, linux-image

which I think is fine. What do you guys have in Ubuntu?

Thomas

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

The real trick is to determine which headers should be installed; Ubuntu have multiple different kernel variants and versions available for 12.04.

Most standard Ubuntu installs will include the correct kernel-headers for the kernel being installed; I'm guessing that this is not standard.

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.