Prevent Vagrant from resuming a download

Screen Shot 2014-12-07 at 12.26.59 AM

Have you come across this nagging error when you attempt to resume a failed download ?

==> default: Box ‘udacity/ud381’ could not be found. Attempting to find and install…
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box ‘udacity/ud381’
default: URL:
==> default: Adding box ‘udacity/ud381’ (v0.0.5) for provider: virtualbox
default: Downloading:
==> default: 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

HTTP server doesn’t seem to support byte ranges. Cannot resume.

One has to delete the partially downloaded box file.

Mohans-MacBook-Pro:ud381 radhakrishnan$ rm ~/.vagrant.d/tmp/*

10 Responses to Prevent Vagrant from resuming a download

  1. Shriram Saxena says:

    but what to do if I am having a same problem in ubuntu 12.04

  2. sreejith says:

    where is the partial file location in ubuntu ?

    • Steven Jeffries says:

      This is a month late, but to anyone coming across this site wondering the same thing:

      The partial file location in Ubuntu is exactly where it says above.

      ~/.vagrant.d/tmp/(some long hash)

  3. what about instalation in windows 8, how can I remove this the partially downloaded box file ?

  4. For windows, you can run this command

    > rmdir %vagrant_home%\tmp /S

  5. Pingback: Vagrant error “HTTP server doesn’t seem to support byte ranges” on Windows | Deltacode Blog

  6. Tushar Godhwani says:

    to fix in windows go to
    The temporary folder which is at…C:\Users\YourUsername\.vagrant.d\boxes\tmp and delete the file named as box9d3745126fd73b8ec0695fd8a5de37502173c07a(something like this) but next time download will start from begining.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: