delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/30/06:28:25

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Install failing and leaving unusable system
Date: Mon, 30 Oct 2006 11:28:04 -0000
Message-ID: <04a801c6fc16$77976b50$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <Pine.GSO.4.63.0610292326420.22731@access1.cims.nyu.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 30 October 2006 04:34, Igor Peshansky wrote:

> On Sun, 29 Oct 2006, Julian Hall wrote:

>> I'd suggest changing them so that the destination filename in the case
>> of an abnormal exit is different (e.g. scriptName + ".failed").  A flag
>> could then be set so that a dialog box is shown at the end, stating that
>> errors occurred running the postinstall scripts, and directing users to
>> a simple shell script that can be run after rebooting, which will run
>> all the /etc/postinstall/*.failed scripts and move them to appropraite
>> ".done" names. 
>> 
>> Does that sound like a sensible idea?
> 
> It does sound reasonable, but here are a couple of observations:
> 
> 1) This was proposed before (see the discussion thread starting at
> <http://cygwin.com/ml/cygwin-apps/2006-03/msg00062.html>).  One
> alternative is to avoid renaming the failed scripts altogether, so that
> they get re-run on next setup.

  How about just providing an extra option on the "choose installation type"
page: "Re-run failed postinstall scripts", that just jumps immediately to that
stage, and thereby cleans up any leftovers?

  ISTM that would provide all the same functionality in one nice neat package.
I'll look at whipping up a patch for consideration.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019