This is the mail archive of the
mailing list for the Cygwin project.
Re: setup's response to a "corrupt local copy"
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Ken Brown <kbrown at cornell dot edu>, cygwin at cygwin dot com
- Date: Thu, 14 Dec 2017 22:46:16 +0300
- Subject: Re: setup's response to a "corrupt local copy"
- Authentication-results: sourceware.org; auth=none
- Authentication-results: smtp1j.mail.yandex.net; dkim=pass firstname.lastname@example.org
- References: <email@example.com>
- Reply-to: cygwin at cygwin dot com
Greetings, Ken Brown!
> This is a followup to the discussion started here:
> 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
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
With best regards,
Thursday, December 14, 2017 22:38:11
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple