Vagrant 流浪汉未能打开Ubuntu仿生盒的包装

Vagrant 流浪汉未能打开Ubuntu仿生盒的包装,vagrant,ubuntu-18.04,Vagrant,Ubuntu 18.04,我在两台不同的主机(MacOS和Windows 10)上尝试了以下操作: 但是,在这两台机器上,我得到了相同的错误: ==> box: Box file was not detected as metadata. Adding it directly... ==> box: Adding box 'bionic' (v0) for provider: box: Unpacking necessary files from: file:///Users/user/Downloa

我在两台不同的主机(MacOS和Windows 10)上尝试了以下操作:

但是,在这两台机器上,我得到了相同的错误:

==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'bionic' (v0) for provider:
    box: Unpacking necessary files from: file:///Users/user/Downloads/bionic-server-cloudimg-amd64-vagrant.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):

x box.ovf
x Vagrantfile
x metadata.json
x ubuntu-bionic-18.04-cloudimg.mf
x ubuntu-bionic-18.04-cloudimg.vmdk: Truncated tar archive
bsdtar: Error exit delayed from previous errors.
到目前为止,我已经尝试:

  • 释放20GB的磁盘空间
  • 下载该框并手动解除其错误
  • 使用几个月前这个流浪者盒子的旧版本
但我仍然无法克服这个错误。帮助?

这似乎是一个关于仿生图像的例子。以下是修复之前的解决方法:

  • 从中手动下载该框
  • 运行
    vagrant-box-add--name ubuntu/bionic64/path/to/bionic-server-cloudimg-amd64-vagrant.box
  • 再次尝试
    vagrant up
  • ==> box: Box file was not detected as metadata. Adding it directly...
    ==> box: Adding box 'bionic' (v0) for provider:
        box: Unpacking necessary files from: file:///Users/user/Downloads/bionic-server-cloudimg-amd64-vagrant.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):
    
    x box.ovf
    x Vagrantfile
    x metadata.json
    x ubuntu-bionic-18.04-cloudimg.mf
    x ubuntu-bionic-18.04-cloudimg.vmdk: Truncated tar archive
    bsdtar: Error exit delayed from previous errors.