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

Re: Versionned dependencies



Goswin von Brederlow, 2012-02-09 15:02+0100:
> Again I don't see how the situation would be different with depends
> instead of breaks. In both cases it is impossible to install a
> mismatching set of versions.

Well, with
    Package: xul-ext-adblock-plus
    Depends: iceweasel (>= 3.6.13, << 12.0~a1+) | iceape (>= 2.1, << 2.9~a1+)
you could install xul-ext-adblock-plus as long as you have a compatible
version of iceweasel, even if you have an incompatible version of
iceape.

With the current implementation
    Package: xul-ext-adblock-plus
    Depends: iceweasel (>= 3.6.13) | iceape (>= 2.1)
    Breaks: iceweasel (>= 12.0~a1+), iceweasel (<< 3.6.13),
            iceape (>= 2.9~a1+), iceape (<< 2.1)
you cannot install xul-ext-adblock-plus if you have an incompatible
version of iceape, even if you have a compatible version of iceweasel.
Which is wrong.

-- 
 ,--.
: /` )   Tanguy Ortolo <xmpp:tanguy@ortolo.eu> <irc://irc.oftc.net/Tanguy>
| `-'    Debian Developer
 \_


Reply to: