paru
paru copied to clipboard
Retry of install fails if server doesn't support byte ranges
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