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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type:reply-to; q=dns; s= default; b=D1GAHRQEYZkEO0uFnwDS9NNQqUEnybgmsWE1msjKPW9E3IuZ+zV7S IJJsB+nVQsU5lZbkxx1MKyyoagzR4muAXUUSEPGWOvw82lqhHPF0K6hGqQf5Hyor q3s9/wLuYFCTa0mRjZKW45jyzGaVNFHGGN/k3Ceg3IhVs99breUmVQ= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type:reply-to; s=default; bh=Y 5DVO7O0zEcHfDG4o4/ytSY2tWo=; b=v1VG0vtwna61Z43/ObSdLQg6nyY7zl/Rh U3Ve6AS93vAzAir533ca2KmzDAqZizRVIrc6d1hAXZcl/2TOSirsk3RIFmbLx/av 22eF/8Ll4L1vofejnMSSzDeMdBCAAwFPoVhDingZ8ZCMBLVBP3qu5Rwg3hoBUBD7 eDeUv9TWzw= 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=-6.0 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=backup, unfair, ini, fly X-HELO: resqmta-po-11v.sys.comcast.net Subject: Re: setup 2.878 only processes one site To: cygwin AT cygwin DOT com References: <7d6dc5d3-e368-a513-d04b-58410da7152b AT dronecode DOT org DOT uk> From: David Rothenberger Message-ID: Date: Wed, 17 May 2017 10:06:18 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <7d6dc5d3-e368-a513-d04b-58410da7152b@dronecode.org.uk> Content-Type: multipart/mixed; boundary="------------C881878F755483C47F681707" X-CMAE-Envelope: MS4wfI5x6DGb47UoTPv93V4R0HsWjCaTSip27P8xyMIJiBR/UJvAoqPfucyRsyByT9HyvtDsfQJ9sEy4HwJ1vQ8R1vCIAl9p35+4T4Fg31dM0Wg8WxrZjgUo I25xIqGW8i8AJ+cpMF6zcAKcpZcg8Dba75V3OdZyDVhY4db1Z0UUxUk1 X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com --------------C881878F755483C47F681707 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Jon Turney wrote: > On 17/05/17 00:14, David Rothenberger wrote: >> When I use the new Direct Connection option in setup 2.878, it appears >> that setup only downloads the setup.xz file from one of the three sites >> I have selected. > > Interesting. I don't see anything in the changes since 2.877 that would > have caused this. Can you show a setup.log.full? Attached, although I didn't see any difference in the log between using the new Direct Connection option and the old one. > Something which might give this impression is that setup will now cache > setup.xz, and only download it if it has changed. > > I had no idea anyone actually used this feature of setup. I'm somewhat > sceptical it's making things faster or more reliable, rather than just > downloading the same file 3 times... :) I think you nailed it. I tried again this morning and the first time I ran setup, it did contact our local site, but it did not on subsequent runs (even to see if the file has changed). I then modified our web server to add a "Cache-Control: no-cache" header and cleared the Windows cache. After that, setup retrieved the setup.xz file from our server on every run. For background, we host our own partial repository of locally built packages, so the setup.xz our server provides is not complete. It would be incorrect for setup to assume that the setup.xz downloaded from one site is identical to the ones available from the other selected sites. -- David Rothenberger ---- daveroth AT acm DOT org Unfair animal names: -- tsetse fly -- bullhead -- booby -- duck-billed platypus -- sapsucker -- Clarence -- Gary Larson --------------C881878F755483C47F681707 Content-Type: text/plain; charset=UTF-8; name="setup.log.full" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="setup.log.full" 2017/05/17 10:02:26 Starting cygwin install, version 2.878 2017/05/17 10:02:26 User has backup/restore rights 2017/05/17 10:02:26 Current Directory: //zora/downloads/development/cygwin 2017/05/17 10:02:26 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access. 2017/05/17 10:02:51 source: network install 2017/05/17 10:02:52 root: c:\cygwin system 2017/05/17 10:02:52 Selected local directory: //zora/downloads/development/cygwin 2017/05/17 10:02:53 net: Direct Loaded cached mirror list get_url_to_membuf http://cygwin.com/mirrors.lst getUrlToStream http://cygwin.com/mirrors.lst 2017/05/17 10:02:54 site: http://trac-dev.entomo.com/docs/cygwin-release/ 2017/05/17 10:02:54 site: http://www.daveroth.dyndns.org/cygwin-release/ 2017/05/17 10:02:54 site: http://mirrors.kernel.org/sourceware/cygwin/ get_url_to_membuf http://trac-dev.entomo.com/docs/cygwin-release/x86_64/setup.xz.sig getUrlToStream http://trac-dev.entomo.com/docs/cygwin-release/x86_64/setup.xz.sig get_url_to_membuf http://trac-dev.entomo.com/docs/cygwin-release/x86_64/setup.xz getUrlToStream http://trac-dev.entomo.com/docs/cygwin-release/x86_64/setup.xz get_url_to_membuf http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg getUrlToStream http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg get_url_to_membuf http://cygwinports.org/ports.gpg getUrlToStream http://cygwinports.org/ports.gpg compress_xz::bid_xz: success: 48 compress_xz::bid_xz: success: 48 INSTALLED.DB version 3 get_url_to_membuf http://www.daveroth.dyndns.org/cygwin-release/x86_64/setup.xz.sig getUrlToStream http://www.daveroth.dyndns.org/cygwin-release/x86_64/setup.xz.sig get_url_to_membuf http://www.daveroth.dyndns.org/cygwin-release/x86_64/setup.xz getUrlToStream http://www.daveroth.dyndns.org/cygwin-release/x86_64/setup.xz get_url_to_membuf http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg getUrlToStream http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg get_url_to_membuf http://cygwinports.org/ports.gpg getUrlToStream http://cygwinports.org/ports.gpg compress_xz::bid_xz: success: 48 compress_xz::bid_xz: success: 48 get_url_to_membuf http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz.sig getUrlToStream http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz.sig get_url_to_membuf http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz getUrlToStream http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz get_url_to_membuf http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg getUrlToStream http://trac-dev.entomo.com/docs/cygwin-release/daveroth-gpg-pubkey.gpg get_url_to_membuf http://cygwinports.org/ports.gpg getUrlToStream http://cygwinports.org/ports.gpg compress_xz::bid_xz: success: 48 compress_xz::bid_xz: success: 48 package calm comparing versions 20170327-1 and 20170327e-1, result was -1 package calm comparing versions 20170215-1 and 20170215e-1, result was -1 package chere comparing versions 1.4-1 and 1.2-1, result was 1 package keychain comparing versions 2.7.1-1 and 2.8.1-0, result was -1 .ini setup_version is (null), our setup_version is 2.878 2017/05/17 10:03:02 Ending cygwin install --------------C881878F755483C47F681707 Content-Type: text/plain; charset=us-ascii -- 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 --------------C881878F755483C47F681707--