How to setup debian/control to force updating a library?

Posted by LovinBuntu on Ask Ubuntu See other posts from Ask Ubuntu or by LovinBuntu
Published on 2012-12-16T20:25:03Z Indexed on 2012/12/16 23:20 UTC
Read the original article Hit count: 198

Filed under:
|
|

This question is aimed at PPA/packages maintainers.

I have a PPA with 2 packages:

  • mypackage (currently version 1~ppa1~quantal)
  • mypackagelib (currently version 1~ppa1~quantal)

Currently, the control file of mypackage has:

Depends: mypackagelib

I want to update the 2 packages to version '2' (mypackage version 2 and mypackagelib version 2).

How can I make sure that the 2 packages will be updated when the user updates 'mypackage' ?

FYI, changing the 'Depends' field to:

Depends: mypackagelib (>= 2)

does NOT work, and returns the following error:

mypackage : Depends: mypackagelib (>= 2) but mypackagelib-2~ppa1~quantal is to be installed

© Ask Ubuntu or respective owner

Related posts about PPA

Related posts about dependencies