From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11409 invoked by alias); 27 Oct 2015 07:34:34 -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 11394 invoked by uid 89); 27 Oct 2015 07:34:33 -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-f180.google.com Received: from mail-wi0-f180.google.com (HELO mail-wi0-f180.google.com) (209.85.212.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 27 Oct 2015 07:34:32 +0000 Received: by wicll6 with SMTP id ll6so146271700wic.0 for ; Tue, 27 Oct 2015 00:34:29 -0700 (PDT) X-Received: by 10.194.71.84 with SMTP id s20mr25570671wju.89.1445931269861; Tue, 27 Oct 2015 00:34:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.167.145 with HTTP; Tue, 27 Oct 2015 00:34:10 -0700 (PDT) In-Reply-To: <190443388.20151026144831@yandex.ru> References: <133366775.20151025170018@yandex.ru> <190443388.20151026144831@yandex.ru> From: Aleksey Midenkov Date: Tue, 27 Oct 2015 09:52: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/msg00476.txt.bz2 On Mon, Oct 26, 2015 at 2:48 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. > > If you get consistent results from different mirrors (and since you're the > only person reporting it), my second thought is that it is a local issue. > Overly zealous antivirus/firewall coming to mind. I remember this was also happening long time ago (about 10 years or more) in completely different environment of course. Anyway, local problem with *Cygwin-only* means problem with Cygwin. I rarely use Cygwin and when I use it, I always stumble upon this. Maybe there is another reason of why you don't know of other complaints. > >>>> 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 > > As David pointed out already, MD5 hash proven weak and is no longer used in > sensitive environments. I don't need to know who the David is and what he pointed out. But what does this mean in core, the documentation is wrong and checksum is done with different algorithm? > > > -- > With best regards, > Andrey Repin > Monday, October 26, 2015 14:45:39 > > 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