Re: Grouping dependencies
>>>>> " " == Jérôme Marant <email@example.com> writes:
> Hi, (and happy new year :-))
> I'm packaging a program that has some kind of dependencies:
> Package: A Depends: B | C, D | E
> I'd like to make sure that: - once B installed, D was also
> installed - or once C installed, E was also installed.
> Unfortunatelly IIRC, dpkg does not allow me to do things like :
> Depends: (B, D) | (C, E)
Hmm, this has been asked before. There is a solution.
Depends: B | C, B | E, C | D, D | E
B, D : * * * * : works
C, E : * * * * : works
B, E : * * ----- * : fails
C, D : * ----- * * : fails
But b,c,d or b,c,e or even b,c,d,e will also work, which should not be