FYI: Reboot is needed after a failed setup.

Igor Pechtchanski pechtcha@cs.nyu.edu
Mon Nov 15 21:49:00 GMT 2004


On Mon, 15 Nov 2004, Max Bowsher wrote:

> Reini Urban wrote:
> > Brian Dessent schrieb:
> > > Stephen More wrote:
> > > > I am willing to try an add this logic. Where is the source for
> > > > setup.exe ?
> > > >
> > > > I am looking through CVS and I am not finding the setup code:
> > > > http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/?cvsroot=src
> > >
> > > You can find details of building setup.exe at
> > > <http://sources.redhat.com/cygwin-apps/setup.html>.
> > >
> > > If you proceed, you should join the cygwin-apps list where setup.exe
> > > development is on-topic and coordinate with the other setup.exe
> > > maintainers.  I believe that means Max Bowsher currently (previously
> > > Robert Collins) with patches also coming from Reini U., Igor P., Gary
> > > V.S., et al.
> >
> > Added as http://sourceware.org/bugzilla/show_bug.cgi?id=548
>
> Thanks for taking care of bugzilla, Reini!
>
> Rather than special-casing the cygwin dll, I think a better solution
> would be to run all preremove scripts, then perform all file deletions
> and extractions, then run all postinstall scripts.

This will work as long as preremove scripts depend only on the parts of
other packages that are still functional after their respective preremove
scripts have run.  This is mostly the case with DLLs.

> This would solve similar problems involving other dlls too.
>
> Please transfer further discussion to the cygwin-apps mailing list.
>
> Thanks,
> Max.

FWIW, there was some discussions on cygwin-apps a while ago (last year?)
about the order of running preremove scripts.  It wasn't quite the reverse
dependency order.

Speaking of the order in which scripts are run (but unrelated to this
discussion): the logic that is supposed to invoke postinstall scripts in
topological order of dependencies doesn't seem to work -- instead of being
invoked when their respective packages are traversed, the postinstall
scripts are executed by the catch-all clause (and thus in alphabetical
order).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT



More information about the Cygwin-apps mailing list