X-Spam-Check-By: sourceware.org Date: Mon, 23 Jan 2006 11:34:10 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Bob Rossi cc: cygwin AT cygwin DOT com Subject: Re: curses.h (Attn: bash and setup maintainers) In-Reply-To: <20060123161412.GB9308@brasko.net> Message-ID: References: <20060120172639 DOT GA15196 AT brasko DOT net> <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> <20060123145013 DOT GA9308 AT brasko DOT net> <20060123161412 DOT GB9308 AT brasko DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: Content-Disposition: INLINE Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/