配置Laravel Homestead Vagrant box add时提示Gzip出错
按照教程配置Homestead,在运行 vagrant box add 命令时输入:
vagrant box add laravel/homestead virtualbox.box
提示如下:
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'laravel/homestead' (v0) for provider:box: Unpacking necessary files from: file:///vagrant/homestead/virtualbox.box The box
failed to unpackage properly. Please verify that the box file you're
trying to add is not corrupted and try again. The output from
attempting to unpackage (if any):
x ./box-disk1.vmdk: gzip decompression failed
bsdtar: Error exit delayed from previous errors.
重点是红色部分的错误提示,目前猜测是
-
Vagrant、VirtualBox和Box文件的版本不兼容造成?
-
box镜像文件的问题?
-
权限问题?……
教程中说可以使用迅雷离线下载将box文件下载到本地后add,实测下了好多次都不行,通过wget或从原始文件下载那速度简直没法看……
我的Vagrant是1.7.4,VirtualBox是5.0.2,BOX文件是0.2.7版本
求解决思路或者问题原因。。感谢。
laravel gzip homestead vagrant