Unable to download a new box. Desperate.

329 views
Skip to first unread message

Rob Wilkerson

unread,
May 22, 2016, 5:24:19 PM5/22/16
to Vagrant
I just deleted one of my cached boxes to test a change and now I can't bring it back up:

$ vagrant up                    0s
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'mandrel-api' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'mandrel-api' (v0) for provider: virtualbox
/opt/vagrant/embedded/lib/ruby/2.2.0/fileutils.rb:1444:in `rmdir': Directory not empty @ dir_s_rmdir - /Users/robwilkerson/.vagrant.d/tmp/vagrant-box-add-temp-20160522-1576-e94ngb (Errno::ENOTEMPTY)

I've reinstalled Vagrant (1.8.1), deleted my project's .vagrant/ directory and even deleted my ~/.vagrant.d directory. Totally desperate right now if anyone can help.

Rob Wilkerson

unread,
May 22, 2016, 5:25:08 PM5/22/16
to Vagrant
For whatever it's worth, my host machine is running OSX 10.11.4.

Alvaro Miranda Aguilera

unread,
May 22, 2016, 6:06:08 PM5/22/16
to vagra...@googlegroups.com
Hello,

Vagrant will try to resume a previous download, so here it seems you are hitting some cache.

Can you delete whatever is in:
/Users/robwilkerson/.vagrant.d/tmp/*

Thanks
Alvaro.


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/64a6bd77-ed1d-49ed-b7bc-50370d0fc95d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Rob Wilkerson

unread,
May 22, 2016, 6:46:05 PM5/22/16
to Vagrant
Thanks, Alvaro. I tried deleting the entire ~/.vagrant.d directory and others to no avail. I finally ended up rebuilding the box with Packer and so far that seems to have done the trick. I don't know what I did to screw things up so badly, but they seem to have been reset now.
Reply all
Reply to author
Forward
0 new messages