Re: Pre-Depends of #CDD#-common meta packages from cdd-common
On Fri, Jun 11, 2004 at 11:20:52AM +0200, Andreas Tille wrote:
> I'm currently trying to fix some configuration issues which occure with
> the med-common meta package which will also influence all other CDDs
> which will use cdd-dev to build their meta packages. The problem is as
> follows: If the CDD uses the user-role based menu system this should
> be configured via debconf in the configuration script of the #CDD#-common
> package (where #CDD# stands for jr, med, np, edu, ...). This means
> that the cdd-common package has to be configured *before* the #CDD#-common
> package is installed, because /etc/cdd/cdd.conf has to be read and
> the tools in /usr/share/cdd/ have to be available. Then the type of
> the role system (currently only UNIX-groups but we know that this
> might change in the future) has to be selected. IMHO that's why we
> need a Pre-Depends from cdd-common which has to be discussed on
I'm not sure I quite understand what's going on here, but it seems to me
that you have one or the other of these cases:
* meta-package's .config script requires data from cdd-common
Answer: You can't. .config scripts can only depend on Essential
packages plus debconf, and Pre-Depends doesn't help.
* meta-package's .postinst script requires data from cdd-common
Answer: Use Depends, which is sufficient.
The only reason you should need Pre-Depends is if the meta-package's
.preinst script requires data from cdd-common.
Does this make sense?
Colin Watson [email@example.com]