[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bug #561324: asking questions in postinst



On Tue, Dec 29, 2009 at 05:32:29PM +0100, Josselin Mouette wrote:
> Le mardi 29 décembre 2009 à 14:38 +0100, Lionel Elie Mamane a écrit :
> > Well, this could be solved by a pre-depends on dnsutils |
> > bind9-host. Pre-depends are often frowned upon, what do others think
> > of this for this case?
> 
> It is utterly and absolutely useless, since config scripts are executed
> before pre-depends are installed.

Uhm, yes, you are right. So it wouldn't help anyway. Only
possibility would be a versioned dependency (according to [1])
or to really do it in the postinst. Leads to the question
which of the solution we'd prefer.

Regards,
Patrick

[1] http://www.debian.org/doc/debian-policy/ch-binary.html#fr10


Reply to: