How to use build deps in my PPA even if they have a lower version than Ubuntu primary archive

Asked by Guiodic (Guido Iodice) on 2011-05-24

I need to use a build dep in my PPA even if it has a lower version than Ubuntu primary archive.
Is it possible? I tried to modify debian/control adding (<< version) but soyouz install the higher package then build fails.

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
Julian Edwards Edit question
Last query:
2011-05-24
Last reply:
2011-05-24
Max Bowsher (maxb) said : #1

No, it is not possible to do this.

Your options are:

1) Modify the binary package name of the dependency, and depend on that modified name.
(e.g. if foo 2.0 is in the primary archive, but I want to use foo version 1, I might build foo1_1.0-0myppa1_all.deb and depend on foo1)

2) Modify the version string of the dependency to actually be higher in comparison, even though it contains a lower version (either by using an epoch or a fake prefix like 2.0really1.0-0myppa1)

Can you help with this problem?

Provide an answer of your own, or ask Guiodic (Guido Iodice) for more information if necessary.

To post a message you must log in.