Re: Versionned dependencies
Tanguy Ortolo <tanguy+debian@ortolo.eu> writes:
> 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.
True, there is a small difference there. Thanks for explaining.
Unless it truely breaks (e.g. segfaults) iceweasel or iceape the depends
would then be better.
MfG
Goswin
Reply to: