stat157 / analyzers

1 stars 3 forks source link

Vagrant setup error: VMDK: Compressed image is corrupted #12

Open aculich opened 10 years ago

aculich commented 10 years ago

While executing the Setting up Vagrant instructions I encounter the following error while running vagrant up:

Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Appliance import failed
VBoxManage: error: Could not create the clone medium '/home/elvis/VirtualBox VMs/precise64/box-disk1.vmdk'.
VBoxManage: error: VMDK: Compressed image is corrupted '/home/elvis/.vagrant.d/boxes/157box/virtualbox/box-disk1.vmdk' (VERR_ZIP_CORRUPTED)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Appliance, interface IAppliance
VBoxManage: error: Context: "int handleImportAppliance(HandlerArg*)" at line 781 of file VBoxManageAppliance.cpp

I am using Vagrant version 1.3.5.

I got this image directly from Khoa's USB stick, so I wonder if that original file I copied from there is corrupted on the stick or in the copy process to my computer?

What is special about this image? And where did you get it from? I see the link listed in the instructions as: https://www.dropbox.com/s/5rgfq8nedjxgm0c/package.box

Is that an image that you created yourself or did you get it from elsewhere? Could I substitute a generic Ubuntu Precise 64-bit image that I download directly from ubuntu.org?

teresita commented 10 years ago

this is a similar issue that @j-zhang encountered when executing the vagrant up command. the image is special because @kqdtran made the box, downloaded all the necessary programs and dependencies required to run our code, and then packaged it. substituting a generic Ubuntu Precise 64-bit image would work; in that case, though, you would need to follow the setup instructions (the behind-the-scenes section) here. If there's time, we will try to debug the packaged box. For now, though, plan-B should be sufficient to run our code (it's just a longer, more involved set up process).