Re: Order of dpkg triggers [and 1 more messages]
Joachim Breitner writes ("Re: Order of dpkg triggers"):
> ghc-doc is the corresponding documentation package. Besides shipping the
> documentation for the basic packages, it also maintains a system-wide
> index of installed libraries. To that end, it?s trigger uses ghc-pkg, if
> it is available, to get a list of installed packages and then create the
Would it be possible for ghc-doc to update the cache too ? Then
presumably the call in ghc would have no work to do and would be fast.
Josselin Mouette writes ("Re: Order of dpkg triggers"):
> Le lundi 11 juillet 2011 à 21:37 +0200, Joachim Breitner a écrit :
> > If ghc-doc would directly Depend: on ghc, would dpkg then run the
> > triggers in the other order?
> Yes. In this case the ghc-doc trigger can only run when the ghc one has
> already run.
I don't think this is true. A package which has been triggered (ie,
one in triggers-pending) can still satisfy dependencies. Its the
awaiting packages (the ones which did the triggering) which don't.
So this wouldn't affect the order.