Я использую Ubuntu 10.04 и ядро: 2.6.38-11-generic-pae. При использовании VirtualBox я получил эту ошибку:
Драйвер ядра не установлен (rc = -1908)
Пожалуйста, установите пакет virtualbox-ose-dkms и запустите 'modprobe vboxdrv' от имени пользователя root.
Я попытался выполнить команду: 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