VBoxManage: error: VMDK: Compressed image is corrupted

1,957 views
Skip to first unread message

Carlo Trimarchi

unread,
Aug 12, 2015, 10:59:35 AM8/12/15
to Vagrant
Hello,
I'm trying to use for the first time Vagrant, on a Mac, with Virtualbox and puPHPet.

I created a configuration file on puPHPet, unzipped and tried to run
vagrant up

in that folder. This is what I get:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'puphpet/ubuntu1404-x64' could not be found. Attempting to find and install...
   
default: Box Provider: virtualbox
   
default: Box Version: >= 0
==> default: Loading metadata for box 'puphpet/ubuntu1404-x64'
   
default: URL: https://atlas.hashicorp.com/puphpet/ubuntu1404-x64
==> default: Adding box 'puphpet/ubuntu1404-x64' (v2.0) for provider: virtualbox
   
default: Downloading: https://atlas.hashicorp.com/puphpet/boxes/ubuntu1404-x64/versions/2.0/providers/virtualbox.box
==> default: Successfully added box 'puphpet/ubuntu1404-x64' (v2.0) for 'virtualbox'!
==> default: Importing base box 'puphpet/ubuntu1404-x64'...
Progress: 30%There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "/Users/carlo/.vagrant.d/boxes/puphpet-VAGRANTSLASH-ubuntu1404-x64/2.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "packer-virtualbox-iso-1422601639_1439386977327_37300", "--vsys", "0", "--unit", "7", "--disk", "/Users/carlo/VirtualBox VMs/packer-virtualbox-iso-1422601639_1439386977327_37300/packer-virtualbox-iso-1422601639-disk1.vmdk"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/carlo/.vagrant.d/boxes/puphpet-VAGRANTSLASH-ubuntu1404-x64/2.0/virtualbox/box.ovf...
OK
.
0%...10%...20%...30%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Appliance import failed
VBoxManage: error: Could not create the imported medium '/Users/carlo/VirtualBox VMs/packer-virtualbox-iso-1422601639_1439386977327_37300/packer-virtualbox-iso-1422601639-disk1.vmdk'.
VBoxManage: error: VMDK: Compressed image is corrupted '/Users/carlo/.vagrant.d/boxes/puphpet-VAGRANTSLASH-ubuntu1404-x64/2.0/virtualbox/packer-virtualbox-iso-1422601639-disk1.vmdk' (VERR_ZIP_CORRUPTED)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component ApplianceWrap, interface IAppliance
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 876 of file VBoxManageAppliance.cpp

any idea what's happening?

Alvaro Miranda Aguilera

unread,
Aug 12, 2015, 6:36:12 PM8/12/15
to vagra...@googlegroups.com
On Thu, Aug 13, 2015 at 2:59 AM, Carlo Trimarchi
<carlo.t...@gmail.com> wrote:
> ker-virtualbox-iso-1422601639-disk1.vmdk'.
> VBoxManage: error: VMDK: Compressed image is corrupted

Check your /users/ hasn't run out of space

and try deleting the box to have a new download

vagrant box remove puphpet/ubuntu1404-x64

also ensure you are on a up-to-date version, current one is 1.7.4 i think

Alvaro.

Carlo Trimarchi

unread,
Aug 18, 2015, 7:58:51 AM8/18/15
to Vagrant
also ensure you are on a up-to-date version, current one is 1.7.4 i think

thanks, I originally installed vagrant through hombrew cask on my Mac and I had the version 1.7.3. Downloading the latest version solved the issue. 
Reply all
Reply to author
Forward
0 new messages