[pacman-dev] Default XferCommand breaks when resuming incomplete downloads on some servers
Allan McRae
allan at archlinux.org
Mon Aug 22 00:01:29 UTC 2016
On 19/08/16 07:39, Quint Guvernator wrote:
> Hello all,
>
> The default value of XferCommand (/usr/bin/curl -C - -f %u > %o) tells
> curl to try to resume downloads from a particular byte position if they
> are stopped prematurely. Not all servers support this, though, so curl
> may die with exit status 33 like this:
>
> :: Checking nwjs-bin integrity...
> ==> Making package: nwjs-bin 0.16.1-1 (Thu Aug 18 00:38:19 EDT 2016)
> ==> Retrieving sources...
> -> Downloading nwjs-v0.16.1-linux-x64.tar.gz...
> ** Resuming transfer from byte position 8736768
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 47.1M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
> curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
> ==> ERROR: Failure while downloading http://dl.nwjs.io/v0.16.1/nwjs-v0.16.1-linux-x64.tar.gz
> Aborting...
>
> (To reproduce, grab the nwjs-bin PKGBUILD from the AUR. makepkg and kill
> the download, then makepkg again. There's gotta be an instance of this
> in community or extra, but I haven't run into any yet.)
>
This is makepkg. It does not have an XferCommand.
A
More information about the pacman-dev
mailing list