Мне нужно запустить Vagrant для своих проектов, когда я пытаюсь его запустить:
user@chrubuntu:/var/www/***$ vagrant up
VirtualBox is complaining that the installation is incomplete. Please
run `VBoxManage --version` to see the error message which should contain
instructions on how to fix this error.
VBoxManage --версия
user@chrubuntu:/var/www/***$ VBoxManage --version
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-3.8.11.
You will not be able to start VMs until this problem is fixed.
4.2.16_Ubuntur86992
Я попытался настроить vboxdrv:
/etc/init.d/vboxdrv setup
* Starting VirtualBox kernel modules
* No suitable module for running kernel found [fail]
dpkg-перенастроить виртуальный бокс
user@chrubuntu:/var/www/***$ sudo dpkg-reconfigure virtualbox
+ sudo dpkg-reconfigure virtualbox
[sudo] password for user:
* Stopping VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules
* No suitable module for running kernel found [fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
dpkg-перенастроить виртуальный бокс-dkms
user@chrubuntu:/var/www/***$ sudo dpkg-reconfigure virtualbox-dkms
+ sudo dpkg-reconfigure virtualbox-dkms
------------------------------
Deleting module version: 4.2.16
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-4.2.16 DKMS files...
dpkg: warning: version '*-*' has bad syntax: version number does not start with digit
It is likely that 3.8.11 belongs to a chroot's host
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
* Stopping VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules
* No suitable module for running kernel found [fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
uname -а
Linux chrubuntu 3.8.11 #1 SMP Wed May 14 04:04:45 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
Когда я пытаюсь установить заголовки Linux:
user@chrubuntu:/var/www/rs-chef$ sudo apt-get install linux-headers-$(uname -r)
++ uname -r
+ sudo apt-get install linux-headers-3.8.11
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-3.8.11
E: Couldn't find any package by regex 'linux-headers-3.8.11'