Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vagrant box could not be found or could not be accessed in the remote catalog - incompatible curl version

I just downloaded Vagrant and did the settings as well as install virtual box. I just can't start my project (vagrant up). I have a vagrant file and so on. What can I do?

$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'scotch/box' could not be found. Attempting to find and install ...     default: Box Provider: virtualbox     default: Box Version: >= 0 The box 'scotch/box' 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/scotch/box"]  
like image 933
Yaron Dassonneville Avatar asked Nov 07 '16 20:11

Yaron Dassonneville


2 Answers

There seems to be an issue with vagrant 1.8.7 and the embedded curl version vs the mac os binary (shipped by default on mac os Sierra and others) - remove the embedded one

sudo rm /opt/vagrant/embedded/bin/curl 

Note: you also need to remove the embedded curl when you add a vagrant box (remotely or locally) so if you get the same error when running vagrant box add .... just remove the curl from vagrant and it will work

like image 165
Frederic Henri Avatar answered Oct 12 '22 12:10

Frederic Henri


Just wanted to update this post. I ran into this error running macOS Sierra and a fresh Vagrant 1.8.7 install and noticed Vagrant just updated. As of Vagrant 1.9.0 this error appears to have been fixed.

like image 33
Justin Kimbrell Avatar answered Oct 12 '22 10:10

Justin Kimbrell