Tramp, I can’t download the window

I don’t know why I have such a problem, but I can’t add stray boxes.

Using Windows 10, try a simple command line in the shell. same issue. This is a relatively new installation of windows. Maybe I missed some kind of package?

I tried this command first:

vagrant box add hashicorp/precise32 

and got the error:

 The box 'hashicorp/precise32' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp 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/hashicorp/precise32"] Error: 

So, I downloaded the box manually and tried this:

 vagrant box add base64 file:///D:/downloads/vagrant_boxes/precise64.box 

And again I got this error:

 ==> box: Box file was not detected as metadata. Adding it directly... ==> box: Adding box 'base64' (v0) for provider: box: Unpacking necessary files from: file:///D:/downloads/vagrant_boxes/precise64.box box: An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again. 
+6
source share
7 answers

I used vagrant v1.8.0 when this happened. Later that day, a tramp v1.8.1 was released. I did not try this, instead I switched back to v1.7.4 and the problem disappeared.

+4
source

The current version libraries (starting from this date) OSX do not support the curl version bundled with Vagrant 1.8.7. I installed 1.8.6 and everything worked like a champion. To test this theory:

 cd /opt/vagrant/embedded/bin ./curl --help 

If you get a "normal" answer that should be okay or something else is wrong.

+6
source

I solved this problem since I installed vagrant 1.8.1, I tried to install a lower version, but I ran into the same problem. Hope I solve this here:

first make sure you install Microsoft Visual C ++ 2010 Redistributable SP1. here for 64bit https://www.microsoft.com/en-us/download/details.aspx?id=13523 next, download the ssl version of curl in my case 64bit too. Here: https://curl.haxx.se/latest.cgi?curl=win64-ssl-sspi

now extract curl.exe in C: \ Vagrant \ embedded \ bin. see installation directory.

and then do it. if you are not using ssl, try the curl version of no-ssl. hopes help

+4
source

Check C: \ HashiCorp \ Vagrant \ embedded \ bin \ curl.exe if an error occurs, there is your problem.

To solve, just download gitbash, console2, cmder, etc ... you have curl installed or try http://www.confusedbycode.com/curl/ .

however highly recommend gitbash or cmder

+1
source

https://atlas.hashicorp.com/hashicorp/boxes/precise32 database at the official URL .. there is only a virus provider. try the command: vagrant init hashicorp / exact32; vagrant up --provider virtualbox

+1
source

For MacOS users who reinstall the new version of the vagabonds do not help:

 sudo mv /opt/vagrant/embedded/lib/libiconv.2.dylib /opt/vagrant/embedded/lib/libiconv.2.dylib_ brew install libiconv brew link --force libiconv 

Credits: https://github.com/mitchellh/vagrant/issues/5782

0
source

You do not need to add a window. Init instead:

 vagrant init hashicorp/precise32 vagrant up vagrant ssh 

Hope it will be automatically added to the mailbox list. If you want to configure a local block - add it, getting a few steps:

 D: cd downloads/vagrant_boxes vagrant box add base64 precise64.box vagrant up vagrant ssh 
-1
source

All Articles