Closed bw closed 8 years ago
@Hondilla somehow, four hours of Googling did not yield that issue! The problem was that I had the x64 version but not the x86 version of the redistributable installed. Thanks!
I just hit this myself too on windows 10/vagrant 1.8.1. Rolling back to 1.7.4 works. I'll add the C++ redist mentioned in #6754 to get 1.8.1.
@sethvargo should this be reopened? Seems like a bad user experience to ship a version of curl (assuming thats the root cause) that does not work "out of the box" on windows 10.
Chiming in again-- I legitimately spent around four or five hours trying to find the solution to this problem and nothing I looked at indicated that redistributable version was the problem. The fact that the error is extremely ambiguous (i.e. not a single error everyone searches for) made solving it even harder.
I, for one, would appreciate the .msi install process also automatically installing the redistributable.
Got the same error. My workaround is
choco install -y vcredist2010
As long as the installer isn't fixed a note "requires Visual C++ 2010" should probably be added to the windows download section; btw the issue also exists on Windows 7.
It seems that the latest curl.exe are compiled with dynamic runtime. There are several ways to solve the problem for the vagrant installer:
I have exactly the same problem. Solved by installing Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
Hi, Sorry to bother... I've tried all (reinstall Microsoft Visual C++ 2010 SP1 Redistributable Package (x86),copy curl.exe from git bash....) . still have error :-1: Box file was not detected as metadata The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and try again. The output from attempting to unpackage (if any):
bsdtar.EXE: Error opening archive: Unrecognized archive format
I also have the same error., but I slove it.
OS: Windows 8.1 x64 Vagrant: 1.8.1 VirtualBox: 5.0.16 Homestead: 0.4.2
Step1: Use your favourite editor open homestead/scripts/homestead.rb
. And then find the line, in my case, it is line 17
config.vm.box_version = settings["version"] ||= ">= 0.4.0"
Step2: Change the '0.4.0' to '0', like this
config.vm.box_version = settings["version"] ||= ">= 0"
Step3: Just execute vagrant up
. It might works. Good luck!
link: http://stackoverflow.com/questions/34946837/box-laravel-homestead-could-not-be-found
Installing Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) solved my problem. I had a fresh installation of windows 10 x64 and vagrant 1.8.1
You should installing Microsoft Visual C++ 2010 SP1 Redistributable Package (x86). I had a fresh installation of windows 10 x64 and vagrant 1.8.1
https://www.microsoft.com/en-us/download/details.aspx?id=8328
Can confirm that with vagrant 1.8.1, windows 10 x64 that adding https://www.microsoft.com/en-us/download/details.aspx?id=8328 works.
I spent hours trying to figure this out. Installing the 2010 vcredist package for x86 fixed this issue straight away on my Windows 10 x64 environment.
I spent a few hours googling for a solution too. All solutions were Mac related. Ran with info level and got an error code and googled that and found this. Fix worked for me. FYI, I am running Windows 7
Getting the same issue on a fresh install of Windows 10 with VirtualBox 5.0.26 and Vagrant 1.8.5.
Same issue with Vagrant 1.8.7 on Mac OS X 10.10.5
I have the same issue with this with Vagrant 1.8.7 on Mac OS 10.12.1
Same here with Vagrant 1.8.7 on Mac OS 10.12.1. Downgrading to 1.8.6 resolves it for me.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
This issue is closed. If you are experiencing this problem, please install Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) (note: must be 2010, and x86, version). If that doesn't solve your problem, open a new issue -- nobody on this thread is a Vagrant contributor.
I'm having some trouble getting Vagrant to work on my computer (Intel i7/Windows 10). I've installed VirtualBox then Vagrant, but when I try to run
vagrant up
orvagrant box add [box]
, the action fails with a blank error message (literally, nothing shows up in the Error field). See (1) and (2) below..vagrant.d
from the user directory does not solve the problem.C:\HashiCorp\Vagrant\
) does not solve the problem.Finally, I've copy and pasted a
--debug
copy ofvagrant box add
, if that is at all helpful -- see (5) below.Please advise-- I feel like I've tried everything and it is just not working! This is incredibly frustrating.
1) Doesn't work with
vagrant up
2) Doesn't work with
vagrant box add
3) Same message shown for nonexistent box...
4) ...but also for local copy of box
5) Verbose debug version of
vagrant box add