0

I am trying to set up vagrant locally on my Windows 10 machine, I have pre installed latest version of Vagant and Virtual box. I am trying to setup Ubuntu 14, Apache, PHP and Mysql. After downloading the package from puphpet.com, I CD in to the directory and trying to run vagrant up. I am getting the following error. I also tried with Centos, getting the same error

F:\puphpet (3)\MQLYog>vagrant up
Bringing machine 'local' up with 'virtualbox' provider...
==> local: Box 'puphpet/centos65-x64' could not be found. Attempting to find and install...
    local: Box Provider: virtualbox
    local: Box Version: >= 0
The box '["puphpet/centos65-x64"]' 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/puphpet/centos65-x64"]
Error:
Frederic Henri
  • 45,144
  • 6
  • 98
  • 119
vrh
  • 475
  • 5
  • 15

2 Answers2

1

hmm it looks like the name is correct, can you try to download the box separately :

vagrant box add puphpet/centos65-x64

if you have a SSL error you can run

vagrant box add puphpet/centos65-x64 --insecure

when prompted for the provider, select virtualbox

Frederic Henri
  • 45,144
  • 6
  • 98
  • 119
  • weird .. can you do `vagrant box add puphpet/centos65-x64 --force` and delete the boxXXX file from `.vagrant.d/tmp` directory – Frederic Henri Jan 16 '16 at 12:59
  • do you have issue only with this particular box or with any box from atlas ? – Frederic Henri Jan 16 '16 at 13:55
  • Earlier I installed Ubuntu with Vagrant, its working fine. Now when I am trying to install with puphpet and vagrant I am getting this error. I already have a linux box that is working fine. – vrh Jan 16 '16 at 14:36
  • ok can you try to download the box using `wget https://atlas.hashicorp.com/puphpet/boxes/centos65-x64/versions/20151130/providers/virtualbox.box` then add the box as `vagrant box add puphpet/centos65-x64 ` – Frederic Henri Jan 16 '16 at 15:39
0

Vagrant comes with a own curl.exe on Windows, but this seems to be broken.

Try to install Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)

If it does not work, then try this way:

  • Install a working curl.exe executable Download
  • Make curl available for the whole system (PATH system-variable) tutorial
  • Delete or rename the unfunctional curl.exe in C:\HashiCorp\Vagrant\embedded\bin
Community
  • 1
  • 1
Roman
  • 2,061
  • 2
  • 22
  • 43