Re: A new way to specify versionned dependencies may be needed
On Fri, Oct 03, 2003 at 09:55:09PM +0200, Nicolas Boullis wrote:
> Hi,
>
> On Fri, Oct 03, 2003 at 09:19:39AM +0200, Dagfinn Ilmari Mannsåker wrote:
>
> > > So I'd like my package to conflict with versions A to B of foo. I tried
> > > to specify it with "Conflicts: foo (>> A), foo (<< B)" but, as I feared,
> > > it does not work since it now conflicts both with all versions >> A and
> > > with all versions << B (as A << B, that means all versions).
> >
> > How about "Depends: foo (<< A) | foo (>> B)"?
>
> No, my package does not depend in any way on foo. Depending on foo only
> to prevent a few specific versions of foo to be installed would be evil,
> AFAICS...
The best extant solution to this is just to Conflicts: foo (<= B).
Forcing an upgrade isn't such a bad thing...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: