Skip to content

Can't download boxes on Windows 10 #6754

@kacpersaw

Description

@kacpersaw

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 :)

Activity

sethvargo

sethvargo commented on Dec 29, 2015

@sethvargo
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

megheaiulian commented on Dec 29, 2015

@megheaiulian

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

jeremywhittington

jeremywhittington commented on Dec 29, 2015

@jeremywhittington

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

megheaiulian commented on Dec 29, 2015

@megheaiulian

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

kacpersaw commented on Dec 29, 2015

@kacpersaw
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

ztrange commented on Jan 5, 2016

@ztrange

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

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

karlbunch

karlbunch commented on Feb 17, 2016

@karlbunch

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.

locked and limited conversation to collaborators on Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @karlbunch@sethvargo@jeremywhittington@megheaiulian@ztrange

        Issue actions

          Can't download boxes on Windows 10 · Issue #6754 · hashicorp/vagrant