Search code examples
vagrantvagrantfilevagrant-windows

Having issue with Vagrant I cant install any Vagrantbox


I saw scotch.io vagrant box and i was please with it. so i went ahead to download virtualbox and vagrant. also downloaded the scotch.io vagrantfile. but i when i enter the vagrant up in that dir using cmd an pc user.

it gives this error

C:\Users\Myusername\Desktop\scotch-box-master>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"]
Error: 

so i tried to install precise64 box it tries to download but it give an error back as follow

C:\Users\Myusername\Desktop\Vagrant>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'precise64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'precise64' (v0) for provider: virtualbox
    default: Downloading: http://files.vagrantup.com/precise64.box
    default: Progress: 100% (Rate: 24/s, Estimated time remaining: --:--:--)
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

please can some help me fix this error. so i just downloaded the precise64.tar file how can i install it locally since remote installation is not working


Solution

  • Yea from the above user said all i have to do was check if my pc name has any special charcter ed -/@#$% etc and then remove the special charater. that all and vagrant is downloading the box very well and correctly