This a problem that gets reported repeatedly. I have a fix uploading to
jaunty-proposed, in conjunction with a much higher SRU.
The kvm-source package is a dkms build of the kvm module. In order to
build this, you *must* have the kernel headers installed for any kernel
that you want to build kvm and boot.
Currently, we're depending on "linux-headers-server | linux-headers-
generic | linux-headers".
This isn't good enough, though, as the user might have linux-headers and
linux-headers-generic installed, but is running the linux-server kernel.
In which, the dkms build fails, and reports the following helpful,
informative message:
*************************************************
ERROR: Missing kernel headers.
You appear to have at least some kernel headers
installed, but you do not have the necessary
headers to build kvm-source against this kernel.
You might try installing the meta package:
$ sudo apt-get install linux-headers-server
or specifically
$ sudo apt-get install linux-headers-2.6.28-13-server
to obtain the necessary build dependencies.
*************************************************
This message tells users exactly how to solve the problem, however we
still get bug reports by the truckload.
Thus, I'm proposing that we depend on all of "linux-headers-server,
linux-headers-generic, linux-headers". This will involve installing
extra headers on some systems. However, this is contained to users
installing kvm-source, and will help avoid a lot of headaches.
Proposing for SRU, in conjunction with Bug #359447 and Bug #382077.
:-Dustin
** Changed in: kvm (Ubuntu)
Importance: Undecided => Low
** Changed in: kvm (Ubuntu)
Status: New => In Progress
** Changed in: kvm (Ubuntu)
Milestone: None => jaunty-updates
** Changed in: kvm (Ubuntu)
Assignee: (unassigned) => Dustin Kirkland (kirkland)
** Also affects: kvm (Ubuntu Jaunty)
Importance: Undecided
Status: New
** Changed in: kvm (Ubuntu Jaunty)
Importance: Undecided => Low
** Changed in: kvm (Ubuntu Jaunty)
Status: New => Confirmed
** Changed in: kvm (Ubuntu Jaunty)
Milestone: None => jaunty-updates
--
package kvm-source 1:84+dfsg-0ubuntu11 failed to install/upgrade: subprocess
post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/394953
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs