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

Re: pre-dependency for fetchmail, fetchmail-ssl



On Sun, 16 Dec 2001, Henrique de Moraes Holschuh wrote:

> Hello guys,
>
> As per policy, I am asking here about a pre-dependency I need.
>
> I have split fetchmail / fetchmail-ssl in two packages, a fetchmail-common
> and fetchmail-ssl / fetchmail.
>
> I need to either enforce ordering of the postinst scripts, with
> fetchmail-common running first, or make sure one postinst knows whether the
> other has run or not (for that given package version).
>
> The first one requires a pre-depends: fetchmail-common (= source-version);
> the other one requires version-aware semasphores using debconf, which is a
> damn hack IMHO and too fragile for my tastes.

The first one does not require a pre-depends.  postinst ordering is the same
as dependency ordering.

When you depend on package A, you can be certain that your postinst will only
run after package A is fully configured.




Reply to: