dstk icon indicating copy to clipboard operation
dstk copied to clipboard

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

Open sarashakeri opened this issue 5 years ago • 3 comments

Hi, 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

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

Do you know what can be the possible problem?

sarashakeri avatar Nov 01 '19 11:11 sarashakeri

@sarashakeri Hi, did you resolve your issue ? Because I have the same problem.

tandrus avatar Dec 01 '19 13:12 tandrus

@tandrus , @sarashakeri Hi, packer has created the next files from CentOS7: MyCentOS7-disk001.vmdk and MyCentOS7.ovf, but vagrant doesn't want to work with them.

Kasper886 avatar Mar 11 '21 20:03 Kasper886

Any one knows where can i find codes to run on phytonista ?

Theloyalty97 avatar May 25 '21 15:05 Theloyalty97