Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't download boxes on Windows 10 #6754

Closed
kacpersaw opened this issue Dec 29, 2015 · 7 comments
Closed

Can't download boxes on Windows 10 #6754

kacpersaw opened this issue Dec 29, 2015 · 7 comments

Comments

@kacpersaw
Copy link

Hello,

I have problem with vagrant on fresh Windows 10.
I create vagrant file with vagrant init ubuntu/trusty64
Now when i run vagrant with vagrant up
I got this:


Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'ubuntu/trusty64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/ubuntu/trusty64"]
Error:

This problem is not only for ubuntu/trusty64 when I init vagrant with hashicorp/precise32 I get the same error :(
I have virtualbox and cygwin installed.

Thanks for help :)

@sethvargo
Copy link
Contributor

Hi @kacpersaw

Thank you for opening an issue and I am sorry you cannot download boxes. Can you please share your Vagrantfile and the version of Vagrant you are using?

@megheaiulian
Copy link

@sethvargo
I have the exact same problem with Vagrant 1.8.1.

@jeremywhittington
Copy link

For me the problem was I did not have Microsoft Visual C++ Redistributable installed. I figured this out by trying to run curl and got the error “The program can’t start because MSVCR100.dll is missing from your computer.”. After installing the latest version of the c++ redist everything worked.

I was on a fresh install of windows 10, vagrant, virtualbox and the latest version of curl 64bit.

@megheaiulian
Copy link

curl is embedded by vagrant and is placed at "C:\HashiCorp\Vagrant\embedded\bin/curl.EXE" but I still get a error.
Here's a screenshot of output after running VAGRANT_LOG=info vagrant box add ubuntu/trusty64:
https://i.imgur.com/jVZciFA.png

@kacpersaw
Copy link
Author

@sethvargo I have Vagrant 1.8.1 but I installed Microsoft Visual c++ Redistributable (x86 it's very important because with x64 it's not working but you can have x64 and x86 installed) like @jeremywhittington said and now it's working!

@ztrange
Copy link

ztrange commented Jan 5, 2016

FYI the VC++ needed is the 2010 version. here is the link:

http://www.microsoft.com/en-us/download/details.aspx?id=8328

@karlbunch
Copy link

Just spent a couple hours banging my head against this myself today.

Another horrible workaround if you're using git bash:

cp /mingw64/bin/curl.exe /c/HashiCorp/Vagrant/embedded/bin/curl.exe

I hope there will be a better solution in the actual installer in a future release.

@hashicorp hashicorp locked and limited conversation to collaborators Feb 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants