I just recently installed Vagrant and Virtualbox but am unable to run Vagrant. I'm getting the following error when I run 'vagrant up':
roosterlegs@roosterlegs-Lenovo-Y50-70:~/vagrant_proj$ 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.
Then when I run 'VBoxManage --version', I get:
roosterlegs@roosterlegs-Lenovo-Y50-70:~/vagrant_proj$ 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-generic.
You will not be able to start VMs until this problem is fixed.
5.0.18_Ubuntur106667
I have tried a number of solutions such as the instructions here: How to correct virtualbox installation, but nothing has seemed to work.
Please help.
linux-headers-generic
andvirtualbox-ose-dkms
installed? – Ownaginatious Jun 4 '16 at 0:19linux-headers-generic
, but when I try to install the other one, I get an error:E: Unable to locate package virtualbox-ose-dkms
– Stephen R Chen Jun 4 '16 at 0:24virtualbox-dkms
– Stephen R Chen Jun 4 '16 at 0:32dpkg --get-selections | grep linux-headers-generic
if package is not installed runsudo apt-get update && sudo apt-get install linux-headers-generic
– Frederic Henri Jun 4 '16 at 9:36vagrant up
. – Stephen R Chen Jun 5 '16 at 22:32