[Bug 389763] [NEW] ERROR: Missing kernel headers Kosmic

Launchpad Bug Tracker 389763 at bugs.launchpad.net
Sun Jan 31 11:38:51 GMT 2010


You have been subscribed to a public bug:

Trying Kosmic AMD64 alpha 2 via
http:..cdimage.ubuntu.com/release/karmic/alpha-2  (Attempting to get xen
working - seems Xen is 'not native' and I can not find a 'use this
repository to get a native version' - so selected the native KVM
instead)


Setting up kvm-source (1:84+dfsg-0ubuntu14) ...
Removing all [kvm-84] DKMS Modules
Done.
Adding [kvm-84] Module to DKMS build system

*************************************************
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.30-8-server
to obtain the necessary build dependencies.

*************************************************

dpkg: error processing kvm-source (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 kvm-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at u2:/usr/src/linux-2.6.18-xen-3.4.0#


root at u2:~/Desktop# dpkg --get-selections | grep linux-header
linux-headers-2.6.26-2-all-amd64                install
linux-headers-2.6.26-2-common-xen               install
linux-headers-2.6.30-9                          install
linux-headers-2.6.30-9-generic                  install
linux-headers-2.6.30-9-server                   install
linux-headers-generic                           install
linux-headers-server                            install
root at u2:~/Desktop#

And using the xen kernel from the xen project

root at u2:/usr/src# cd linux-2.6.18-xen-3.4.0
root at u2:/usr/src/linux-2.6.18-xen-3.4.0# make menuconfig | head
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: No such file or directory

** Affects: kvm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ERROR: Missing kernel headers  Kosmic
https://bugs.edge.launchpad.net/bugs/389763
You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to kvm in ubuntu.



More information about the Ubuntu-server-bugs mailing list