This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why package cache is not used during setup download?


On Sun, Oct 25, 2015 at 5:00 PM, Andrey Repin <anrdaemon@yandex.ru> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]