Home  >  Q&A  >  body text

Gzip error prompted when configuring Laravel Homestead Vagrant box add

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中文网2686 days ago664

reply all(3)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-16 16:57:29

    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.

    reply
    0
  • 为情所困

    为情所困2017-05-16 16:57:29

    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?

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-16 16:57:29

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

    reply
    0
  • Cancelreply