Error downloading base image with vagrant up

1,853 views
Skip to first unread message

Jonathan Gossage

unread,
Mar 4, 2018, 3:45:52 PM3/4/18
to Vagrant
I am using a brand new installation of Vagrant 2.0.2 running on Windows 10 Professional with VirtualBox 5.2.8. I ran the command

vagrant init precise64


without apparent problems and then tried to run

 
vagrant up

but got the following results:

PS D:\GitRepositories\WiseOldBird\Admin\VagrantLearn> 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: precise64
   
default:
An error occurred while downloading the remote file. The error
message
, if any, is reproduced below. Please fix this error and try
again
.


Couldn't open file /D:/GitRepositories/WiseOldBird/Admin/VagrantLearn/precise64

I tried this both as a normal user and an administrator without success. i am able to create files and directories in this directory without problems using File Explorer or the command line. How can I troubleshoot this problem?
 

Jonathan Gossage

unread,
Mar 4, 2018, 3:57:37 PM3/4/18
to Vagrant


On Sunday, March 4, 2018 at 2:45:52 PM UTC-6, Jonathan Gossage wrote:
I am using a brand new installation of Vagrant 2.0.2 running on Windows 10 Professional with VirtualBox 5.2.8. I ran the command

vagrant init precise64


without apparent problems and then tried to run

 
vagrant up

but got the following results:

PS D:\GitRepositories\WiseOldBird\Admin\VagrantLearn> 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: precise64
   
default:
An error occurred while downloading the remote file. The error
message
, if any, is reproduced below. Please fix this error and try
again
.


Couldn't open file /D:/GitRepositories/WiseOldBird/Admin/VagrantLearn/precise64

I tried this both as a normal user and an administrator without success.I am able to create files and directories in this directory without problems using File Explorer or the command line. I tried using both Powershell 6.0.1 and the standard windows command line without success.  How can I troubleshoot this problem?
 

Alvaro Miranda Aguilera

unread,
Mar 5, 2018, 3:18:43 AM3/5/18
to vagra...@googlegroups.com
hello

if you use user/box vagrant will try to check on vagrant cloud

if you user just box then you need either have the box locally added or add a setting to tell vagrant were to find the box.


I will suggest check a box from here:


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/85054ef9-de47-4725-8ac5-95f11cbe947b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages