最近 将 Virtualbox 升级到 6.0.6 ,出现了 一个奇怪的问题.以下是错误截图:

file

==> homestead-7: Machine booted and ready!
[homestead-7] GuestAdditions seems to be installed (6.0.6) correctly, but not running.
bash: line 5: setup: command not found
==> homestead-7: Checking for guest additions in VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

 setup

Stdout from the command:

Stderr from the command:

bash: line 5: setup: command not found

谷歌了一番,发现很多人遇到此问题,貌似是 6.0.6 的一个 bug

以下是此问题的一些链接汇总

解决方案: 降级,将 Vagrant 将到6.0.4,或者采用如下方式:

打开 Vagrantfile 文件(例如我的 Windows 位置:C:\Users\larav\Homestead\)

编辑此文件,加入以下代码

if Vagrant.has_plugin?("vagrant-vbguest")
    config.vbguest.auto_update = false  
end

file

随后 再次重新启动

vagrant halt
vagrant up

关于极客返利

极客返利 是由我个人开发的一款网课返利、返现平台。包含 极客时间返现、拉勾教育返现、掘金小册返现、GitChat返现。目前仅包含这几个平台。后续如果有需要可以考虑其他平台。 简而言之就是:你买课,我返现。让你花更少的钱,就可以买到课程。

https://geekfl.com

https://geek.laravelcode.cn

版权许可

本作品采用 知识共享署名 4.0 国际许可协议 进行许可。

转载无需与我联系,但须注明出处,注明文章来源 Homestead GuestAdditions seems to be installed (6.0.6) correctly, but not running

联系我

编程怪事
暂无回复
0 / 180