我最近刚刚安装了 Vagrant 和 Virtualbox,但无法运行 Vagrant。运行“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.
然后当我运行“VBoxManage --version”时,我得到:
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
我尝试了许多解决方案,例如此处的说明:
How to correct virtualbox installation ,但似乎没有任何效果。
请帮忙。
最佳答案
关于vagrant - 无法在 Ubuntu 16.04 上运行 Vagrant,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37625129/