delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/23/11:34:57

X-Spam-Check-By: sourceware.org
Date: Mon, 23 Jan 2006 11:34:10 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Bob Rossi <bob AT brasko DOT net>
cc: cygwin AT cygwin DOT 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 DOT GA15196 AT brasko DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0601201249200 DOT 9107 AT access1 DOT cims DOT nyu DOT edu> <20060121142951 DOT GA20108 AT brasko DOT net> <43D24CD0 DOT 5000508 AT byu DOT net> <20060121151547 DOT GD32082 AT brasko DOT net> <43D27E86 DOT 3010006 AT byu DOT net> <20060121201329 DOT GA9039 AT brasko DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0601211730080 DOT 18707 AT access1 DOT cims DOT nyu DOT edu> <20060123145013 DOT GA9308 AT brasko DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0601231104100 DOT 18707 AT access1 DOT cims DOT nyu DOT edu> <20060123161412 DOT GB9308 AT brasko DOT net>
MIME-Version: 1.0
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 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 AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT 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/

- Raw text -


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