Mac 系统 Vagrant box add metadata.json 执行报错
执行 vagrant box add metadata.json 报错信息如下
==> box: Loading metadata for box 'metadata.json'
box: URL: file:///Users/lixueyao/lc-homestead-6.4.1-2019072300/metadata.json
==> box: Adding box 'laravel/homestead' (v6.4.1) for provider: virtualbox
box: Downloading: 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):
x ./box.ovf
x ./Vagrantfile
x ./box-disk001.vmdk: gzip decompression failed
bsdtar: Error exit delayed from previous errors.
Vagrant 升级到最新试试。
我尝试了下 virtualbox 和 vagrant 更新到最新:
The provider 'virtualbox' that was requested to back the machine 'homestead-7' is reporting that it isn't usable on this system. The reason is shown below:
Vagrant has detected that you have a version of VirtualBox installed that is not supported by this version of Vagrant. Please install one of the supported versions listed below to use Vagrant:
4.0, 4.1, 4.2, 4.3, 5.0, 5.1, 5.2, 6.0
A Vagrant update may also be available that adds support for the version you specified. Please check www.vagrantup.com/downloads.html to download the latest version. 我碰到了这个问题,重新安装了个6.0的VirtualBox,问题解决!