Eugene V. Lyubimkin wrote:
> package cupt
> reassign 544186 libcurl3-gnutls
> thanks
> 
> Bernd Zeimetz wrote:
>> Package: cupt
>> Version: 0.6.3
>> Severity: normal
> 
> Hi Bernd,
>> Sometimes cupt fails to download packages with the following error message:
>>
>> [36 libboost1.39-doc 0B/3| 319KiB/s | ETA: 4m17sW: downloading 
>> http://localhost:9999/debian/pool/main/b/boost1.39/libboost1.39-doc_1.39.0-2_all.deb
>>  failed: Requested range was not delivered by the server
>>
>> I've given apt-cacher-ng and approx a try as cache, the error is the same 
>> with
>> both of them. apt-get doesn't have the problem. Also the proxies didn't 
>> report
>> an error, downloading the file with wget just works well.
> Btw, can you try downloading it with 'curl' program? I suspect libcurl 
> misbehaves.
> 
> Hello Curl maintainers (now I CC'ed explicitly to be sure), the curl-tracker
> development list is for subscribers only, so please forward this as well as
> previous cupt-originated libcurl report to curl hackers. TIA.
> 


Hmm, I'm not sure if that's a problem of curl. If you interrupt a download and
try to continue it later, and the server doesn't support that (guess that's woth
a wishlist bug for apt-cacher-ng...), curl does not continue the download. I'd
assume that cupt should drop the partially downloaded file and continue.

33 b...@think /tmp% curl -o test.deb
http://localhost:9999/debian/pool/main/b/boost1.39/libboost1.39-doc_1.39.0-2_all.deb

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  9 35.5M    9 3339k    0     0  1376k      0  0:00:26  0:00:02  0:00:24 1377k^C
130 b...@think /tmp% curl -C - -o test.deb
http://localhost:9999/debian/pool/main/b/boost1.39/libboost1.39-doc_1.39.0-2_all.deb

** Resuming transfer from byte position 3493888
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 35.5M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
33 b...@think /tmp%


-- 
 Bernd Zeimetz                             Debian GNU/Linux Developer
 GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
                   ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to