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

Re: ">=" on a specific debian version



On Thu, Jan 10, 2002 at 07:08:00PM +0100, Stefano Zacchiroli wrote:
> Hi Mentors,
>   may I use in a version requirement (like those on Depends: or
> Build-Depends: field) a ">=" on a specific debian version?
> e.g.
>   Depends: foo (>= 4.54-5)

> Nothing seems to deny it, anyway sometimes minor tricks like that does
> not work ...

Absolutely.  If you look at many packages in unstable today, you will 
probably find:

Depends: libc6 (>= 2.2.4-4)

as just one example. :)  Versioned dependencies are an important feature 
of the dpkg system.

The one limitation is that you can't have a versioned dependency on a 
virtual package (i.e., a package that exists only in the Provides: 
field of other packages).

Steve Langasek
postmodern programmer

Attachment: pgp4Oru9I40HE.pgp
Description: PGP signature


Reply to: