Gzip error prompted when configuring Laravel Homestead Vagrant box add
PHP中文网
PHP中文网 2017-05-16 16:55:29
0
3
661

Follow the tutorial to configure Homestead and enter:

when running the vagrant box add command:
vagrant box add laravel/homestead virtualbox.box

The prompts are as follows:

==> 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.

The focus is on the red part of the error message, the current guess is

  1. Is it caused by incompatible versions of Vagrant, VirtualBox and Box files?

  2. Box image file problem?

  3. Permissions issue? ……

The tutorial says that you can use Thunder offline download to download the box file to the local and then add it. It has been tested many times but it doesn't work. The speed of downloading through wget or from the original file is simply unbelievable...

My Vagrant is 1.7.4, VirtualBox is 5.0.2, and the BOX file is version 0.2.7

Looking for solutions or reasons for the problem. . grateful.

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
淡淡烟草味

Uh, weird version compatibility issue.
Successfully used the BOX file of Virtualbox 4.3.28 + 0.2.6 version. It should have little to do with the Virtualbox version, but mainly the version of the BOX file.

为情所困

My Vagrant is 1.7.4, VirtualBox is 5.0.2, and the BOX file is version 0.2.7. Where can I download vitalbox.box, what system box do I download, and which version is it?

漂亮男人

Thanks for solving the problem.
Tool download must be downloaded from the original address

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!