Cannot install virtualbox-ose-guest-dkms on Ubuntu 10.04

Posted by mrduongnv on Super User See other posts from Super User or by mrduongnv
Published on 2011-11-19T04:45:13Z Indexed on 2011/11/19 9:56 UTC
Read the original article Hit count: 814

Filed under:
|

I'm using Ubuntu 10.04 and kernel: 2.6.38-11-generic-pae. While using VirtualBox, i got this error:

Kernel driver not installed (rc=-1908)

Please install the virtualbox-ose-dkms package and execute 'modprobe vboxdrv' as root.

I tried to execute the command: sudo modprobe vboxdrv and got this error:

FATAL: Module vboxdrv not found.

After that, i execute this: sudo aptitude install virtualbox-ose-guest-dkms

duongnv@duongnv-laptop:~$ sudo aptitude install virtualbox-ose-guest-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
The following partially installed packages will be configured:
  virtualbox-ose-guest-dkms 
0 packages upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up virtualbox-ose-guest-dkms (3.1.6-dfsg-2ubuntu2) ...
Removing old virtualbox-ose-guest-3.1.6 DKMS files...

------------------------------
Deleting module version: 3.1.6
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-ose-guest-3.1.6 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.38-11-generic-pae
Building for architecture i686
Building initial module for 2.6.38-11-generic-pae

Error! Bad return status for module build on kernel: 2.6.38-11-generic-pae (i686)
Consult the make.log in the build directory
/var/lib/dkms/virtualbox-ose-guest/3.1.6/build/ for more information.
dpkg: error processing virtualbox-ose-guest-dkms (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 virtualbox-ose-guest-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up virtualbox-ose-guest-dkms (3.1.6-dfsg-2ubuntu2) ...
Removing old virtualbox-ose-guest-3.1.6 DKMS files...

------------------------------
Deleting module version: 3.1.6
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-ose-guest-3.1.6 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.38-11-generic-pae
Building for architecture i686
Building initial module for 2.6.38-11-generic-pae

Error! Bad return status for module build on kernel: 2.6.38-11-generic-pae (i686)
Consult the make.log in the build directory
/var/lib/dkms/virtualbox-ose-guest/3.1.6/build/ for more information.
dpkg: error processing virtualbox-ose-guest-dkms (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 virtualbox-ose-guest-dkms
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done

© Super User or respective owner

Related posts about ubuntu

Related posts about virtualbox