This is the mail archive of the cygwin-apps@cygwin.com 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: FYI: Reboot is needed after a failed setup.


On Mon, 15 Nov 2004, Christopher Faylor wrote:

> On Tue, Nov 16, 2004 at 01:13:48AM -0000, Max Bowsher wrote:
> >Igor Pechtchanski wrote:
> >>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).
> >
> >Yuck.
> >
> >Does anyone know how rpm/deb handle this kind of issue?
>
> rpm does a topological sort based on dependencies.  Some of the
> dependencies are supplied in the rpm spec file, but many are derived by
> an internal rpm algorithem which figures out requirements for things
> like shared libraries and perl modules.

Setup already has the logic to do this topological sort -- sorry if that
was unclear.  What I meant was that the sort is done, but the scripts
aren't invoked in the sorted 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


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