From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112982 invoked by alias); 15 Dec 2017 13:05:15 -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 112967 invoked by uid 89); 15 Dec 2017 13:05:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, H*M:yandex, HX-Priority:Normal, HTo:D*cornell.edu X-HELO: forward101j.mail.yandex.net Received: from forward101j.mail.yandex.net (HELO forward101j.mail.yandex.net) (5.45.198.241) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 15 Dec 2017 13:05:12 +0000 Received: from mxback11j.mail.yandex.net (mxback11j.mail.yandex.net [IPv6:2a02:6b8:0:1619::84]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 5376D1241DE6; Fri, 15 Dec 2017 16:05:07 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback11j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id M8qOJ76utB-56wGv2DG; Fri, 15 Dec 2017 16:05:07 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Z9iGjfMcpv-50XiKwH6; Fri, 15 Dec 2017 16:05:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 15 Dec 2017 12:53:24 -0000 Date: Fri, 15 Dec 2017 15:20:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <9810363794.20171215155324@yandex.ru> To: Ken Brown , cygwin@cygwin.com Subject: Re: setup's response to a "corrupt local copy" In-Reply-To: References: <116333312.20171214224616@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00148.txt.bz2 Greetings, Ken Brown! > On 12/14/2017 2:46 PM, Andrey Repin wrote: >> Greetings, Ken Brown! >> >>> This is a followup to the discussion started here: >> >>> https://cygwin.com/ml/cygwin/2017-12/msg00088.html >> >>> When setup is preparing to download files and it finds a corrupt copy in >>> the local cache, it issues a fatal error message telling the user to >>> remove the corrupt file and retry. Steven said that setup should >>> silently delete the corrupt file, while I argued in favor of the current >>> behavior, on the grounds that setup shouldn't be deleting user files if >>> it doesn't know where they came from. >> >> The point being, if this is a "Download" Setup mode, the files are NOT "User" >> files, but a local setup cache. And all files therein SHOULD be valid package >> archives. >> There's of course situations, when setup.ini on server become corrupted or >> otherwise out of sync. But being rare, they should not interfere too much. >> >>> There is a middle ground: setup could query the user. Additionally, as >>> suggested by cyg Simple, there could be an option that directs setup to >>> silently remove corrupt files. >> >> Make it mode dependent. >> If it's a "download[ and install]" mode, cleanup and redownload. >> If redownloaded file still does not match the setup.ini hash or if it's an >> "install from local cache" mode, leave file alone for investigation and notify >> the user. > You've misunderstood the context. The error is only shown in download or > download/install mode. Where did I say, when this error is shown currently? > And, as I said, it happens when setup is *preparing* to > download files and finds a corrupt copy already present in the local cache. In > that context, setup has no idea where the file came from. Please forget about current behavior and read my post again. -- With best regards, Andrey Repin Friday, December 15, 2017 15:44:59 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