Very good:
root@ubuntu:/tmp# ls ~/.vagrant.d/tmp/box*
/root/.vagrant.d/tmp/box855249b1521762af702e951d14902c5a034fd6ad
/root/.vagrant.d/tmp/boxcf47ae5be3501a7518e600d10983570e82f3685b
root@ubuntu:/tmp# rm -rf ~/.vagrant.d/tmp/box*
root@ubuntu:/tmp# vagrant box add minimal/trusty64
==> box: Loading metadata for box 'minimal/trusty64'
box: URL: https://vagrantcloud.com/minimal/trusty64
==> box: Adding box 'minimal/trusty64' (v14.04.2) for provider: virtualbox
box: Downloading:
https://vagrantcloud.com/minimal/boxes/trusty64/versions/14.04.2/providers/virtualbox.box
==> box: Successfully added box 'minimal/trusty64' (v14.04.2) for
'virtualbox'!
root@ubuntu:/tmp# vagrant box list
medusa_gorgon (virtualbox, 0)
medusa_serpent (virtualbox, 0)
minimal/trusty64 (virtualbox, 14.04.2)
Any chance we can change the error message to something more informative?
Thanks.
On Wednesday, October 28, 2015 at 4:24:15 AM UTC-4, Alvaro Miranda Aguilera
wrote:
>
> HEllo,
>
> This error:
> HTTP server doesn't seem to support byte ranges. Cannot resume.
>
> Is to be read as " please delete the temp download since can't resume"
>
> So initial download failed for some reason, so better clear the incomplete
> box:
>
> Can you run:
>
> $ rm -fr ~/.vagrant.d/tmp/box*
>
> You can reproduce this as:
>
>
>
>
> ie:
>
> Alvaros-Mini:~ kikitux$ vagrant box add minimal/trusty64
> ==> box: Loading metadata for box 'minimal/trusty64'
> box: URL: https://atlas.hashicorp.com/minimal/trusty64
> ==> box: Adding box 'minimal/trusty64' (v14.04.2) for provider: virtualbox
> box: Downloading:
>
> https://vagrantcloud.com/minimal/boxes/trusty64/versions/14.04.2/providers/virtualbox.box
>
> box: Progress: 1% (Rate: 1357k/s, Estimated time remaining:
> 0:11:01)^C==> box: Waiting for cleanup before exiting...
> ==> box: Box download was interrupted. Exiting.
>
>
>
> Alvaros-Mini:~ kikitux$ vagrant box add minimal/trusty64
> ==> box: Loading metadata for box 'minimal/trusty64'
> box: URL: https://atlas.hashicorp.com/minimal/trusty64
> ==> box: Adding box 'minimal/trusty64' (v14.04.2) for provider: virtualbox
> box: Downloading:
>
> https://vagrantcloud.com/minimal/boxes/trusty64/versions/14.04.2/providers/virtualbox.box
>
> ==> box: Box download is resuming from prior download progress
> An error occurred while downloading the remote file. The error
> message, if any, is reproduced below. Please fix this error and try
> again.
>
>
> HTTP server doesn't seem to support byte ranges. Cannot resume.
>
> Alvaros-Mini:~ kikitux$
>
>
> Alvaro
>
>
>
> On Wed, Oct 28, 2015 at 9:20 AM, James Scollard <[email protected]
> <javascript:>> wrote:
> > Using Short Name:
> >
> > root@ubuntu:/opt/trunk/mythos/images# vagrant box add minimal/trusty64
> > ==> box: Loading metadata for box 'minimal/trusty64'
> > box: URL: https://vagrantcloud.com/minimal/trusty64
> > ==> box: Adding box 'minimal/trusty64' (v14.04.2) for provider:
> virtualbox
> > box: Downloading:
> >
> https://vagrantcloud.com/minimal/boxes/trusty64/versions/14.04.2/providers/virtualbox.box
>
> > ==> box: Box download is resuming from prior download progress
> > An error occurred while downloading the remote file. The error
> > message, if any, is reproduced below. Please fix this error and try
> > again.
> >
> > HTTP server doesn't seem to support byte ranges. Cannot resume.
> >
> > Using URL:
> >
> > root@ubuntu:/opt/trunk/mythos/images# vagrant box add
> trusty64_minimal_test
> >
> https://vagrantcloud.com/minimal/boxes/trusty64/versions/14.04.2/providers/virtualbox.box
>
> > ==> box: Adding box 'trusty64_minimal_test' (v0) for provider:
> > box: Downloading:
> >
> https://vagrantcloud.com/minimal/boxes/trusty64/versions/14.04.2/providers/virtualbox.box
>
> > ==> box: Box download is resuming from prior download progress
> > An error occurred while downloading the remote file. The error
> > message, if any, is reproduced below. Please fix this error and try
> > again.
> >
> > HTTP server doesn't seem to support byte ranges. Cannot resume.
> >
> > Are these officially supported? I cant find download links to pull them
> > down in a browser.
> >
> > Thanks.
> >
> > --
> > 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 [email protected] <javascript:>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/vagrant-up/e1a72818-9885-40db-a625-9219213cb328%40googlegroups.com.
>
>
> > For more options, visit https://groups.google.com/d/optout.
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/d9c881a2-1554-43e9-815b-9d04f628b9be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.