Setup 2.358 Hangs During Post-Install Script

Igor Pechtchanski
Tue Sep 9 14:36:00 GMT 2003


The XFree86-bin-icons package is buggy.  It's basically a postinstall
script that tries to create icons for the X programs that are installed on
your machine.  The problem is that it tries to create them in the Start
Menu for "All Users" without checking whether the current user can write
to it.  I'm not quite sure why it hangs for you, but you can try runnning
that script manually via "bash -x" and seeing where it hangs.  If you do
investigate, please post your findings to the cygwin-xfree list.  If you
don't want to bother, simply do not install the XFree86-bin-icons package
(all it does is provide the Start Menu icons -- not essential).
P.S. Note to setup developers (myself included -- just want to get this
into the archives for now): even though postinstall scripts are not
interactive, their output *is* logged, so they should print something that
tracks their progress (maybe even be run with the -x flag, but that's
probably overkill).  We should put some words to that effect on the
setup.html page.

On Tue, 9 Sep 2003, Dan Hatton wrote:

> Having originally found this problem with Setup 2.358 under Windows
> 2000, I've now reproduced it with Setup 2.364 under Windows XP, and on
> a total of 3 independent machines.  And it's still happening as of
> last night.
> On Fri, 22 Aug 2003, Dan Hatton wrote:
> > I've been trying to update my cygwin packages since yesterday
> > afternoon, and have found that setup.exe repeatably gets to 99%
> > complete, then hangs.  On one occasion, the hang lasted for over 18
> > hours.
> >
> > Setup claims to be trying to run a script called
> > /etc/postinstall/, which is a symlink to
> > /usr/X11R6/bin/
> >
> > After cancelling setup, I can still run Cygwin and XFree86 (phew.)
> >
> > Any ideas, please?

      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list