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



Relevant Pages

  • Re: Keeping more up to date than Lenny, safely?
    ... You can temporarily enable unstable, install the package you're after, ... need and understand well enough to trouble shoot compilation problems. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: When stability is pointless
    ... 818-501-1524 Direct Office ... Why not give each package its own kernel while you are at it? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Switching from Etch to Lenny - help me assess the risk.
    ... package i can always add the sid repo to get the package i want and ... reverted to the nv driver for a while. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: how to solve the "dpkg: error processing" issue when installing a package?
    ... this package, the error may occur when installing any package), it ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: gotmail oddity
    ... I checked the http://gotmail.sf.net page and found out gotmail is no longer supported and Microsoft changing their login page broke the package. ... subject of "unsubscribe". ... Trouble? ...
    (Debian-User)