Pacman can't resume downloads using Vieter #240

Closed
opened 2022-06-13 14:02:49 +02:00 by Jef Roosens · 0 comments

If a download is, for whatever reason, interrupted, Pacman will try to resume the download using HTTP range requests. Because Vieter doesn't support this, Pacman will throw an error like this:

error: failed retrieving file 'waterfox-g4-bin-1.2.1-0-x86_64.pkg.tar.zst' from mzte.de : HTTP server doesn't seem to support byte ranges. Cannot resume.

The fix for this would be to implement these HTTP range requests for the repository endpoints.

As a workaround, you can remove waterfox-g4-bin-1.2.1-0-x86_64.pkg.tar.zst & its corresponding .part file from the Pacman cache dir (/var/cache/pacman/pkg).

If a download is, for whatever reason, interrupted, Pacman will try to resume the download using HTTP range requests. Because Vieter doesn't support this, Pacman will throw an error like this: ``` error: failed retrieving file 'waterfox-g4-bin-1.2.1-0-x86_64.pkg.tar.zst' from mzte.de : HTTP server doesn't seem to support byte ranges. Cannot resume. ``` The fix for this would be to implement these HTTP range requests for the repository endpoints. As a workaround, you can remove `waterfox-g4-bin-1.2.1-0-x86_64.pkg.tar.zst` & its corresponding `.part` file from the Pacman cache dir (`/var/cache/pacman/pkg`).
Jef Roosens added this to the 0.4.0 milestone 2022-06-13 14:02:49 +02:00
Jef Roosens added the
bug
label 2022-06-13 14:02:49 +02:00
Jef Roosens self-assigned this 2022-07-28 09:58:54 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/vieter#240
There is no content yet.