paru icon indicating copy to clipboard operation
paru copied to clipboard

Retry of install fails if server doesn't support byte ranges

Open RubenKelevra opened this issue 2 years ago • 0 comments

Makepkg seems to try to force curl in doing a continue, if a half-downloaded file is found which fails if the server doesn't support byte ranges.

I think we should download the files on our own, to avoid that makepkg makes this decision.

==> Making package: eternalterminal 6.1.11-1 (2022-04-17T12:45:40 CEST)
==> Retrieving sources...
  -> Downloading et-v6.1.11.tar.gz...
** Resuming transfer from byte position 17543168
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   147  100   147    0     0    199      0 --:--:-- --:--:-- --:--:--   199
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
==> ERROR: Failure while downloading https://github.com/MisterTea/EternalTerminal/archive/et-v6.1.11.tar.gz
    Aborting...
==> ERROR: Could not download sources.

Originally posted by @RubenKelevra in https://github.com/Morganamilo/paru/issues/726#issuecomment-1100851259

RubenKelevra avatar Apr 17 '22 10:04 RubenKelevra