logo       

Re: debian package creation: how to specify a version range in Depends: fie: msg#02325

debian-user-debian

Subject: Re: debian package creation: how to specify a version range in Depends: field

On 2009-07-31 16:34 +0200, Peter Van Biesen wrote:

> Hi,
>
> I'm building a package that depends on another package but this package needs
> to be a in a specific version range.
>
> My package "A" depends on package "B" but the version of B needs to be 10.* .
>
> I tried
> Depends: B(>>10.0), B(<<11.0)
> Depends: B(>>10.0,<<11.0)
> Depends: B(=10.*)
>
> Both just installed the most recent version of B.

The first line is the correct one in principle, but I think you need to
put spaces between package name and opening parentheses as well as
between the comparison operator and the version number, i.e.

Depends: B (>> 10.0), B (<< 11.0)

should do the trick.

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise