【发布时间】:2020-02-11 15:40:34
【问题描述】:
我在两个不同的主机(MacOS 和 Windows 10)上尝试了以下操作:
vagrant init ubuntu/bionic64
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.
到目前为止,我已经尝试过:
- 释放 20GB 的磁盘空间
- 下载盒子并手动解压
- 使用这个 vagrant box 几个月前的旧版本
但我仍然无法克服这个错误。帮忙?
【问题讨论】:
标签: vagrant ubuntu-18.04