我按照说明设置宅基地和homstead返回:
☁ ~ homestead up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'laravel/homestead'... 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/cmarfil/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead/0.2.2/virtualbox/box.ovf", "--vsys", "0", "--vmname", "settler_default_1419000625797_92760_1424667778246_80033", "--vsys", "0", "--unit", "7", "--disk", "/Users/cmarfil/VirtualBox VMs/settler_default_1419000625797_92760_1424667778246_80033/box-disk1.vmdk"] Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Interpreting /Users/cmarfil/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead/0.2.2/virtualbox/box.ovf... OK. 0%... Progress state: VBOX_E_FILE_ERROR VBoxManage: error: Appliance import failed VBoxManage: error: Could not create the imported medium '/Users/cmarfil/VirtualBox VMs/settler_default_1419000625797_92760_1424667778246_80033/box-disk1.vmdk'. VBoxManage: error: VMDK: Compressed image is corrupted '/Users/cmarfil/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead/0.2.2/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 779 of file VBoxManageAppliance.cpp
我测试了没有使用git clone的composer的方法和相同的结果。
有什么想法吗?
谢谢!
答案 0 :(得分:1)
在我的情况下,我将我的主文件夹用户更改为另一个用户名,从而更改了我的文件夹结构。在VirtualBox的设置中,您可以指定VM使用的文件夹。
可以在超级用户的帖子上找到有关如何更改该文件夹的说明: https://superuser.com/questions/256192/how-to-move-virtualbox-files
答案 1 :(得分:0)
卸载virtualbox和vagrant homestead。之后,在终端上使用这些命令:
rm /Users/cmarfil/VirtualBox VMs/settler_default_1419000625797_92760_1424667778246_80033/box-disk1.vmd
rm /Users/cmarfil/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead/0.2.2/virtualbox/box-disk1.vmdk
然后重新安装virtualbox和vagrant homestead。
答案 2 :(得分:0)
我面临同样的问题,经过调查我发现我的C盘空间不足。 清洁后,我让它运行。