Vagrant error for adding a box, bsdtar: Error opening archive: Unrecognized archive format

108 views
Skip to first unread message

sarah shakeri

unread,
Nov 1, 2019, 7:43:18 AM11/1/19
to Vagrant

Hi,



Vagrant version is: 2.2.6
The host system is: Ubuntu 18.04.3 LTS


I am going to add a box in vagrant by

vagrant box add juniper/vqfx10k-pfe vqfx10k-pfe.box

but I get below error:

==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'juniper/vqfx10k-pfe' (v0) for provider: 
    box: Unpacking necessary files from: file:///home/sshakeri/ron19_sr/lab/vqfx10k-vagrant/vagrant_boxes/vqfx10k-pfe.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: Unrecognized archive format

Do you know what can be the possible problem?

Alvaro Miranda Aguilera

unread,
Nov 25, 2019, 4:15:14 PM11/25/19
to vagra...@googlegroups.com
one option is download was incomplete.

other option is the file is damaged

try to delete the file and try a new download

alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/0c59721d-4b50-4dcd-b5b7-713ddb4a26a4%40googlegroups.com.


--
Alvaro

Reply all
Reply to author
Forward
0 new messages