This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: curses.h (Attn: bash and setup maintainers)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]