Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm making a package for Cydia, but since it uses APT/dpkg, I thought I'd ask this question here.

I want my package to only install if gsc.wildcat (represents an iPad) is installed, or if gsc.front-facing-camera (represents an iPhone 4/4S) is not installed. This setup would let the package only install on the 3GS or an iPad, but there's no package that represents a 3GS that I know of. It also requires iOS 5 (firmware (>= 5.0)). Here's an excerpt from my control file:

Depends: gsc.wildcat, firmware (>= 5.0)
Conflicts: gsc.front-facing-camera

How can I do this with only Depends/Conflicts?

(Please note that this question is about dpkg and not Cydia.)

share|improve this question
add comment

closed as too localized by Luis Alvarado Mar 14 '13 at 16:06

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.