Re: grouping of alternative depends

2009-04-08 Thread Holger Levsen
Hi, On Montag, 30. März 2009, Stefano Zacchiroli wrote: > The solution to this and similar problems are always, as pointed out > by specific solutions in this thread by others, to turn your > dependency formula into conjunctive normal form (CNF) [1], which is > always possible, though possibly ugl

Re: grouping of alternative depends

2009-03-31 Thread Gerfried Fuchs
* Holger Levsen [2009-03-29 19:46:33 CEST]: > Hi, > > On Sonntag, 29. März 2009, Adeodato Simó wrote: > > Hm? Your original mail said you wanted: > > Depends: (pdns-backend-ldap + pdns-recursor) | bind9 > > How does installing bind9 plus pdns-backend-ldap not satisfy the above? > > Sure it d

Re: grouping of alternative depends

2009-03-31 Thread Stefano Zacchiroli
On Mon, Mar 30, 2009 at 12:13:52PM -0500, Manoj Srivastava wrote: > And that bug on policy would have to show more reason than "I do > not find it pretty enough" to show why we need to modify policy, and (Note that I did not suggest that, I just pointed out that dpkg wouldn't have been t

Re: grouping of alternative depends

2009-03-30 Thread Manoj Srivastava
On Mon, Mar 30 2009, Stefano Zacchiroli wrote: > On Sun, Mar 29, 2009 at 11:41:22AM +0100, 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 t

Re: grouping of alternative depends

2009-03-30 Thread Goswin von Brederlow
Holger Levsen writes: > Hi, > > On Sonntag, 29. März 2009, Emilio Pozuelo Monfort wrote: >> Doesn't this do what you want? >> Depends: pdns-backend-ldap | bind9, pdns-recursor | bind9 > > sure, that works and thats what I'm doing now. But it's ugly and redudant and > potentially wrong: installi

Re: grouping of alternative depends

2009-03-30 Thread Stefano Zacchiroli
On Sun, Mar 29, 2009 at 11:41:22AM +0100, 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 th

Re: grouping of alternative depends

2009-03-29 Thread Raphael Hertzog
On Sun, 29 Mar 2009, Holger Levsen wrote: > Does dselect still have valid uses cases? Closing all dselect related bugs > would make going through src:dpkg bugs much easier ;-) dselect still has users but the dpkg team does not really work on it. The goal is to make it a separate application (and

Re: Re: grouping of alternative depends

2009-03-29 Thread Filipus Klutiero
Holger Levsen wrote: Hi, On Sonntag, 29. März 2009, Adeodato Simó wrote: > Hm? Your original mail said you wanted: > Depends: (pdns-backend-ldap + pdns-recursor) | bind9 > How does installing bind9 plus pdns-backend-ldap not satisfy the above? Sure it does satisfy the depends, but installin

Re: grouping of alternative depends

2009-03-29 Thread Holger Levsen
Hi, On Sonntag, 29. März 2009, Adeodato Simó wrote: > Hm? Your original mail said you wanted: > Depends: (pdns-backend-ldap + pdns-recursor) | bind9 > How does installing bind9 plus pdns-backend-ldap not satisfy the above? Sure it does satisfy the depends, but installing pdns-backup-ldap is n

Re: grouping of alternative depends

2009-03-29 Thread Adeodato Simó
* Holger Levsen [Sun, 29 Mar 2009 15:14:24 +0100]: > Hi, Hey, > On Sonntag, 29. März 2009, Emilio Pozuelo Monfort wrote: > > Doesn't this do what you want? > > Depends: pdns-backend-ldap | bind9, pdns-recursor | bind9 > sure, that works and thats what I'm doing now. But it's ugly and redudant a

Re: grouping of alternative depends

2009-03-29 Thread Holger Levsen
Hi, On Sonntag, 29. März 2009, Emilio Pozuelo Monfort wrote: > Doesn't this do what you want? > Depends: pdns-backend-ldap | bind9, pdns-recursor | bind9 sure, that works and thats what I'm doing now. But it's ugly and redudant and potentially wrong: installing pdns-backend-ldap and bind9 satisf

Re: grouping of alternative depends

2009-03-29 Thread Rafael Laboissiere
* Marius Vollmer [2009-03-29 15:02]: > You just need to do the expansion one more time: > > (A, B) | (C, D) > -> A | (C D), B | (C D) > -> A | C, A | D, B | C, B | D > > Every expression involving AND / OR can be written in a 'two-level' form > > (A or B or ...) and (X or Y or ..) an

Re: grouping of alternative depends

2009-03-29 Thread Marius Vollmer
Rafael Laboissiere writes: > 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 > syntax. You just need to do the expansion one mo

Re: grouping of alternative depends

2009-03-29 Thread ABCD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rafael Laboissiere wrote: > * Emilio Pozuelo Monfort [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 wish

Re: grouping of alternative depends

2009-03-29 Thread Rafael Laboissiere
* Emilio Pozuelo Monfort [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

Re: grouping of alternative depends

2009-03-29 Thread Emilio Pozuelo Monfort
Holger Levsen wrote: > Hi, > > 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 t