无法在 Ubuntu 10.04 上安装 virtualbox-ose-guest-dkms

无法在 Ubuntu 10.04 上安装 virtualbox-ose-guest-dkms

我使用的是 Ubuntu 10.04 和内核:2.6.38-11-generic-pae。使用 VirtualBox 时,我收到此错误:

内核驱动程序未安装(rc=-1908)

请安装 virtualbox-ose-dkms 包并以 root 身份执行“modprobe vboxdrv”。

我尝试执行命令:sudo modprobe vboxdrv 并出现此错误:

严重错误:未找到模块 vboxdrv。

之后,我执行以下命令: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

答案1

更新你的 virtualbox 包..

检查一下关联更多详细信息与您的问题有些相符。

相关内容