hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.16k stars 4.43k forks source link

vagrant up failed #11847

Open jeff900911 opened 4 years ago

jeff900911 commented 4 years ago

when i tried to use vagrant to install the miniKF, and after i followed the instruction (vagrant init arrikto/minikf vagrant up), i got the following error: Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'arrikto/minikf' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Loading metadata for box 'arrikto/minikf' default: URL: https://vagrantcloud.com/arrikto/minikf ==> default: Adding box 'arrikto/minikf' (v20200305.1.0) for provider: virtualbox default: Downloading: https://vagrantcloud.com/arrikto/boxes/minikf/versions/20200305.1.0/providers/virtualbox.box ==> default: Box download is resuming from prior download progress Download redirected to host: storage.googleapis.com default: 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 ./box-disk1.vmdk: Write failed x ./include/ x ./include/_Vagrantfile x ./Vagrantfile bsdtar.EXE: Error exit delayed from previous errors. i have no idea how to fix this problem, could anyone can help me to fix it. thank you

soapy1 commented 4 years ago

From the error, it looks like maybe there is not enough space on your machine to extract the box. It seems like the box is about 22 G when unpacked. Do you have at least 22 G available on your machine?

jeff900911 commented 4 years ago

From the error, it looks like maybe there is not enough space on your machine to extract the box. It seems like the box is about 22 G when unpacked. Do you have at least 22 G available on your machine?

thank you soapy, i think my machine have enough space for this box, i tried to unpacked this box in my windows10 system and virtual machine with centos7 system。For windows10 system, i installed vagrant in the D-disk which has more than 200G available space. And also, my virtual machine installed on a disk which has enough space, and i allocated the virtual machine about 200G space. But they have the same error as i posted.

Soot3 commented 3 years ago

Having this problem as well. @jeff900911 did you find a way to fix this I have enough memory.

niteshgupta2711 commented 2 years ago

try opening the cmd in admin mode, even if this does'nt work look for environment.rb file where you have installed your vgrnt and then change on line 117 to

@home_path = Util::Platform.fs_real_path("D:/vagrant/home/") # a path you know which has enough space.

RobKwiatkowski commented 1 year ago

I have the same issue. OS: Windows 10 Vagrant version: 2.3.6