这个问题已经跟踪了我几天了 . 使用:

  • Virtual Box 5.2.18

  • Vagrant 2.0.2(同版2.1.5)

  • MacOS High Sierra 10.13.6

  • Ruby 2.5.1

当我调用命令 vagrant box add laravel/homestead 时,它最终会出现以下错误:

box: Adding box 'laravel/homestead' (v6.3.0) for provider: virtualbox
box: Downloading: https://vagrantcloud.com/laravel/boxes/homestead/versions/6.3.0/providers/virtualbox.box
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and that enough disk space
is available and then try again.
The output from attempting to unpackage (if any):

bsdtar: Error opening archive: Failed to open '/Users/someone/.vagrant.d/tmp/box294969b313e1338f0cd6a347f68be3b599016863'

我的计算机上有100GB的可用磁盘空间存储空间,所以这不是问题...

I've tried:

  • 重新安装Vagrant

  • 更新macOS

  • 删除vagrant.d / tmp文件夹并尝试添加最终出错的box laravel / homestead

  • 降级Virtual Box

  • 多次重复命令hahahh

任何想法都会深深感激