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

Re: grouping of alternative depends

* Emilio Pozuelo Monfort <pochu@ubuntu.com> [2009-03-29 12:52]:

> Holger Levsen wrote:
> > I'd like to use a depends like "(pdns-backend-ldap pdns-recursor) | bind9" but 
> > afaik this is not possible. AFAICS I should file a wishbug against dpkg but 
> > as I dont have time atm to dig through all the bugs against dpkg, I thought I 
> > drop a mail here, in the hope that someone will point me to an already 
> > existing bug or if not, just submit this. TIA.
> Doesn't this do what you want?
> Depends: pdns-backend-ldap | bind9, pdns-recursor | bind9

Yes, the formulae are logically equivalent to each other. However, for
some packages I would like to have (A B) | (C D), meaning ((A and B) or
(C and D)).  This does not seem to be doable with the current Depends


Reply to: