Re: predepends/depends order
Sandro Dentella <sandro@e-den.it> writes:
> hi,
>
> I'm preparing a package that is meant to setup a PDC with ldap and samba
> mainly for schools. The target that will use it is fairly anaware of most
> of the quantity of things that should be configured in such a setup and I
> don't mean to explain more than necessary.
>
> My package (isi-ldap3) depends on a veriety of other packages (pkg1,
> pkg2...) that place questions via debconf, so I thought to fill debconf
> variable (of pkgN) via a package isi-ldap3-pre) that should place very
> simple questions and take decision that I consider "difficoult" for my
> target (super?)user.
>
> Should I make it as a pre-depends?
>
> The problem i'm coping with wright now is that I can't understand which is
> the order in which all the packages that my packages depends on, will be
> configured. I need to be sure that isi-ldap-pre is completely configured
> before and other package that isi-ldap3 depends on, but reading the manual
> I don't see a way to force an order in the installation of depended-on
> packages.
>
> To make it more clear, slapd gets configured before my package
> isi-ldap3-pre: can I force the order?
>
> Any hints?
Impossible. What you need is for the packages you want to preconfigure
to Depend on isi-ldap-pre. Which means rebuilding all of them.
Maybe you should look into CDD (custom debian distribution). They have
solved this kinds of problems mostly.
MfG
Goswin
Reply to: