On Wed, 18 Jun 2008, Stephen Gran wrote:
> I'm talking about ordering of maintainer scripts in an install run.

This I understood, but maintainer script are mostly used for simple tasks
and for starting/stopping services. Thus I was asking you if the
case where you want to order the configuration of packages is justified by
the fact that postinst script are used to start service
or if there are other tasks that you would like to do in a postinst
where you could make use of such a feature.

> It feels to me like the problem is that Depends is overloaded to mean
> both "needs something from dependant package to run" and "must have
> maintainer scripts run after dependant package's maintainer scripts".  I
> am fairly sure that assumption is made throughout the dpkg code base, so
> I'm not sure how easy it would be to change.

I'm pretty sure it would be complicated. Dpkg already fails to identify
the proper order of configuration after a failure (due to supplementary
constraints related to the new triggers, see 143307)... I don't want to
know how it could look like if we had such a feature.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to