I am creating a package that needs to depend on a package if another is installed, but needs a different dependency if no such package is installed. Is that possible using just the control file of the .deb, or are other tools needed? This package is actually meant for Ubuntu, so any tools unavailable in Ubuntu repositories can't be used.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
||||
|
The control file is static so no you can't change dependencies on some external parameters but the Debian Policy specifies
where |
|||
|
|

Providesor do something likeDepends: NotInstalled | Installed,… – Ulrich Dangel Aug 3 '12 at 13:45