Comment 4 for bug 341159

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Okay, Michael-

This is a nasty one ...

kvm-source is going to need the linux-headers for the kernel you're currently running, as well as any others you have installed.

A distro-upgrade (or anytime you're upgrading the kernel, too) compounds the problem. You're running one kernel, but you need to ensure that you have the headers for the new kernel too.

I'm going to sort-of alleviate the problem in kvm by adding a dpkg --status check for linux-headers-`uname -r`, and if not present, then print an informational statement about the problem, and recommend a command that will install the required dependencies.

I'm going to also set this bug as affecting dkms, and add a suggestion there too.

:-Dustin