Vagrant检测到您安装了不支持的VirtualBox版本

2024-09-29 21:26:04 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在努力通过http://gettingstartedwithdjango.com/en/lessons/introduction-and-launch/

我正在开发win7并使用git bash作为我的终端。我必须:

Shared Folders
After the ./postinstall.sh step, exit SSH Run vagrant halt.

我试图让流浪汉停下来,结果:

vagrant@precise64:~$ vagrant halt 
Vagrant has detected that you have a version of VirtualBox installed that is not supported. Please install one of the supported versions listed below to use Vagrant:

4.0, 4.1

我已经安装了最新的virtualbox-4.2.12

我现在该怎么办?


Tags: andofthecomhttpthatlaunchen
2条回答

你有个老版本的流浪汉。只需卸载当前的,并安装最新的。

https://releases.hashicorp.com/vagrant/

升级流浪汉并不是解决这个问题的唯一办法。在安装了一个新的内核之后,我已经点击了几次。在我的案例中,问题是VirtualBox没有自动重建其模块。

我的解决方案是清除并重新安装virtualbox-dkms包,例如:

brendan@ishmael:~$ sudo apt-get purge virtualbox-dkms
brendan@ishmael:~$ sudo apt-get install virtualbox-dkms

这触发了为我当前的内核构建模块。在此之后,即使是我的老版本的Vagrant也看到了VirtualBox的正确版本。

相关问题 更多 >

    热门问题