简体   繁体   English

无法运行流浪汉ubunru 14.04

[英]Unable to run vagrant ubunru 14.04

Install virtualbox and vagrant, but when try to run "vagrant up" command receive this message 安装virtualbox和vagrant,但是在尝试运行“ vagrant up”命令时收到此消息

VirtualBox is complaining that the installation is incomplete. VirtualBox抱怨安装不完整。 Please run VBoxManage --version to see the error message which should contain instructions on how to fix this error. 请运行VBoxManage --version查看错误消息,其中应包含有关如何解决此错误的说明。

"VBoxManage --version' gave me this: “ VBoxManage --version'给了我这个:

WARNING: The character device /dev/vboxdrv does not exist. 警告:字符设备/ dev / vboxdrv不存在。 Please install the virtualbox-dkms package and the appropriate headers, most likely linux-headers-generic. 请安装virtualbox-dkms软件包和适当的头文件,很可能是linux-headers-generic。 You will not be able to start VMs until this problem is fixed. 在解决此问题之前,您将无法启动VM。 4.3.36_Ubuntur105129 4.3.36_Ubuntur105129

linux-headers-generic - headers were on the spot linux-headers-generic-头文件是当场

Then I run "dpkg -l | grep virtualbox" to get info about VB and got: this 然后我跑“的dpkg -l | grep的VirtualBox的”,以获取有关VB的信息,并得到:

Unable to understand what should I do, reinstalled Virtualbox few times, didn't help. 无法理解我该怎么办,几次重新安装Virtualbox并没有帮助。

as it says make sure to install the linux header generic package, run 如其所言确保安装linux header通用软件包,运行

$ sudo apt-get update
$ sudo apt-get install linux-headers-$(uname -r)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM