X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=fY4IaO3 SI3V++k/+MiAeXxsVN/VEUaBfo5yCujtdFLrHOzHVMBPPi1QClADrxF99ZCpREHm 9YBRUwwtP7O1UmkeLAfkRguAKZM88DmyAfC7CQezpRq19j+gawkUZAiyJ6cep8S1 KVqz5RfEx2wsUurUp2ouDQGngryqXIn3Gyjc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=9a84za8cCJC2N B3rHPIR20rlKhI=; b=k/dMIipVF/c/XfLgxDRKoliWdyLAgrfmdFgPVfjEg5mEg xrKmq7O0G1FJ6LZMiRQfgjiVEfjwXF2lsLgzT9Ku7vfGMclRWgAcax9GPKlG90T9 3ryWTIT8RigvxUBM67ABxL6h6L5t2v0W9+DiIG2AsoYHWOs8i+G0M4NNqQ4Y+U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f173.google.com X-Received: by 10.180.206.8 with SMTP id lk8mr14920207wic.44.1445798882190; Sun, 25 Oct 2015 11:48:02 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <133366775.20151025170018@yandex.ru> References: <133366775 DOT 20151025170018 AT yandex DOT ru> From: Aleksey Midenkov Date: Sun, 25 Oct 2015 21:47:42 +0300 Message-ID: Subject: Re: Why package cache is not used during setup download? To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 On Sun, Oct 25, 2015 at 5:00 PM, Andrey Repin wrote: > Greetings, Aleksey Midenkov! > >> Cygwin setup process my turn to endless retry-error on bad internet >> channels, because: > >> 1. setup doesn't know how to retry download (why it fails to download anyway?); > > Because your internet is bad? On the second thought I believe that the problem is with setup.exe itself. Because: a) I tried different mirrors. It always fails in somewhere between 80-90% (of total progress). b) I never noticed any problems with downloading files except with Cygwin. Gigabyte-sized files via http are downloading without fail. > >> 2. setup doesn't use cache of previously downloaded files and always >> redownload all packages from the beginning. > > It do use cache, if checksum is correct. Hmmm, on setup.ini doc says: install: filename size-in-bytes MD5 sum ... The optional MD5 sum is 32 characters from the set 0-9a-f (case matters). ... But, I see too many characters in my setup.ini: install: x86_64/release/cygwin/cygwin-devel/cygwin-devel-2.2.1-1.tar.xz 273004 be6a2b80a8d06d14a56c1e5b2aabb31698d13aa5328dc7b675be9790a874a3a8b0fda9bdf911001e9a8c79439312c9ec9a8e80fb3bd40304ba459bd1e0850a2e MD5 sum of the cached copy is: 58d2bbfd703798714e28263ec3386ec4 *./cygwin/cygwin-devel/cygwin-devel-2.2.1-1.tar.xz Btw, the size of file is correct: $ ls -l ./release/cygwin/cygwin-devel/cygwin-devel-2.2.1-1.tar.xz -rw-r--r-- 1 op None 273004 Oct 25 10:38 ./release/cygwin/cygwin-devel/cygwin-devel-2.2.1-1.tar.xz > >> How possible I may overcome this situation? > > Fix your internet, or download packages where it is better. > If you want partial download support in setup - patches are welcome, I'm sure. > > > -- > With best regards, > Andrey Repin > Sunday, October 25, 2015 16:58:07 > > Sorry for my terrible english... > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple