X-Recipient: archive-cygwin@delorie.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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=qXlYiBQhFoaBZQ5R
	D5b9qPpngDGR7sxRvQU7uhVb0ADOWi2wPzAZ1YmHGJyUJmQWY16ITTKaE+Ciz1M6
	QUXfUmFiQh4yBnNqeg16xFBvOiy1xqc5xoicJuVUrYei3mbz51zC775MTUqwe8Cm
	BWxNT1r+8Hasu+ud96Kr6IMFR2o=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=AfuW/mQZ8O0khRbpENaRFh
	2RcsI=; b=vi/6oneOHZhKsbTjelNM3N4jLvVBWp4OuvN/rkAwSDEV8wLOfSZezZ
	dvX2Plg08NWqS9NtLZbq/Z0HaE0Z5cDlzjXhbut8cTiQT5Zc4ar1hQWX21pkczkR
	LXnu5X/Tv0tG2qoYAroOIZCBbp9omczL70fcaE1dmZQpmqFhAe0Dc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.4 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Mon, 26 Oct 2015 14:48:31 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <190443388.20151026144831@yandex.ru>
To: Aleksey Midenkov <midenok@gmail.com>, cygwin@cygwin.com
Subject: Re: Why package cache is not used during setup download?
In-Reply-To: <CAF8BazBBFrCdPLJMw2ZiuSx_syLLqq7MMwWrsCM+CqE8Y9e4Tw@mail.gmail.com>
References: <CAF8BazAy7x2Nxeb6P=ns7=Dy5ENzd=Cg0oKxJjDtBg0JzGjM-g@mail.gmail.com>   <133366775.20151025170018@yandex.ru>  <CAF8BazBBFrCdPLJMw2ZiuSx_syLLqq7MMwWrsCM+CqE8Y9e4Tw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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.

>>> 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.


-- 
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

