From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59233 invoked by alias); 25 Oct 2015 18:48:07 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 59215 invoked by uid 89); 25 Oct 2015 18:48:06 -0000 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 Received: from mail-wi0-f173.google.com (HELO mail-wi0-f173.google.com) (209.85.212.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 25 Oct 2015 18:48:05 +0000 Received: by wicfv8 with SMTP id fv8so88839277wic.0 for ; Sun, 25 Oct 2015 11:48:02 -0700 (PDT) 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 Received: by 10.28.167.145 with HTTP; Sun, 25 Oct 2015 11:47:42 -0700 (PDT) In-Reply-To: <133366775.20151025170018@yandex.ru> References: <133366775.20151025170018@yandex.ru> From: Aleksey Midenkov Date: Mon, 26 Oct 2015 01:45:00 -0000 Message-ID: Subject: Re: Why package cache is not used during setup download? To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-10/txt/msg00441.txt.bz2 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