I'm working in some Debian packages and at some point I'd like to add optional dependencies, e.g. if
foo-pkg is marked as to be installed at the same time as
foo-pkg install first and then continue with
foo-pkg is not available or not marked to be installed just continue.
I could use the
Recommend: field but as far as my tests has gone it doesn't force
apt-get to install
foo-pkg first, also, I don't have control over
foo-pkg, any ideas?