X-Spam-Check-By: sourceware.org
Date: Mon, 23 Jan 2006 11:34:10 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Bob Rossi <bob@brasko.net>
cc: cygwin@cygwin.com
Subject: Re: curses.h (Attn: bash and setup maintainers)
In-Reply-To: <20060123161412.GB9308@brasko.net>
Message-ID: <Pine.GSO.4.63.0601231116180.18707@access1.cims.nyu.edu>
References: <20060120172639.GA15196@brasko.net>  <Pine.GSO.4.63.0601201249200.9107@access1.cims.nyu.edu> <20060121142951.GA20108@brasko.net>  <43D24CD0.5000508@byu.net> <20060121151547.GD32082@brasko.net>  <43D27E86.3010006@byu.net> <20060121201329.GA9039@brasko.net>  <Pine.GSO.4.63.0601211730080.18707@access1.cims.nyu.edu> <20060123145013.GA9308@brasko.net>  <Pine.GSO.4.63.0601231104100.18707@access1.cims.nyu.edu> <20060123161412.GB9308@brasko.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.GSO.4.63.0601231116182.18707@access1.cims.nyu.edu>
Content-Disposition: INLINE
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, 23 Jan 2006, Bob Rossi wrote:

> On Mon, Jan 23, 2006 at 11:06:09AM -0500, Igor Peshansky wrote:
> > On Mon, 23 Jan 2006, Bob Rossi wrote:
> >
> > > On Sat, Jan 21, 2006 at 05:31:24PM -0500, Igor Peshansky wrote:
> > > > On Sat, 21 Jan 2006, Bob Rossi wrote:
> > > >
> > > > > I will do this on Monday. However, is there a way to tell cygwin to
> > > > > fix all packages? Just in case others are broken?
> > > >
> > > > Once you have /bin/sh, you can re-run all postinstall scripts (go to
> > > > /etc/postinstall and run everything that ends in ".sh.done").
> > >
> > > [snip]
> > > I did try your suggestions about for I in *.sh.done; do ./$I; done,
> > > however, it was producing lot's of errors, so I stopped it.
> >
> > What errors were you getting, exactly?
> >
> > Note that until you've run all postinstall scripts, your installation will
> > not be in a consistent state.
>
> Here's the command I ran, along with output.
> for I in *.sh.done; do ./$I; done > ~/out.txt 2>&1

Bob,

Most of the messages are diagnostics to track script progress.  The only
exceptions are the lines below:

./00bash.sh.done: line 12: ./01bash.bat: No such file or directory
cp: cannot stat `./01bash.bat.t': No such file or directory
rm: cannot remove `./01bash.bat.t': No such file or directory

and

./XFree86-bin-icons.sh.done: line 8: /usr/X11R6/bin/XFree86-bin-icons.sh: No such file or directory

The first set is from 00bash.sh (it should probably have a test for the
existence the .bat file).  Also, in-place edits should work just fine
(using 'sed -i -e "/^echo/d; s,REM BASHPATH,$bashpath," 01bash.bat').

The latter message is actually because of a bug in setup -- when it
uninstalls a package, it doesn't take into account the fact that files in
/etc/postinstall were renamed to .done, and thus leaves stale postinstall
scripts behind (like the one from XFree86-bin-icons, which is an obsolete
package).  [Brian, can we put this on the TODO list to fix in setup?]

In any case, looks like all the postinstall scripts ran for you, so you
should be good to go.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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/

