'vagrant up' gives 'An error occurred while downloading' -


i use vagrant on linux , os x machines without problem. on windows 10 (the preview bash windows) fails while downloading box, without specifying proper error message:

bringing machine 'default' 'virtualbox' provider... ==> default: box 'trusty' not found. attempting find , install...     default: box provider: virtualbox     default: box version: >= 0 ==> default: box file not detected metadata. adding directly... ==> default: adding box 'trusty' (v0) provider: virtualbox     default: downloading: http://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box     default: error occurred while downloading remote file. error message, if any, reproduced below. please fix error , try again. 

i tried downloading box (so url correct!) , adding manually results in same:

c:\> vagrant box add ubuntu/trusty64 c:\users\michi\boxes\trusty-server-cloudimg-amd64-vagrant-disk1.box ==> box: box file not detected metadata. adding directly... ==> box: adding box 'ubuntu/trusty64' (v0) provider:     box: unpacking necessary files from: file://c:/users/michi/boxes/trusty-server-cloudimg-amd64-vagrant-disk1.box     box: error occurred while downloading remote file. error message, if any, reproduced below. please fix error , try again. 

i found answer in github issue: https://github.com/mitchellh/vagrant/issues/6725#issuecomment-223733553

i installed vc++ 2010 redistributable , vagrant up worked immediately!


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -