0

How to force a debian package to check some dependency installed?

closed as unclear what you're asking by Florian Diesch, user224082, Sylvain Pineau, Eric Carvalho, Mateo Jun 14 '14 at 14:01

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • What do you mean by "to check some dependency installed"? Normally, when installing debian package, with the use of dpkg, it already checks dependencies of that specific package, whether it is needed to be installed or already installed on the system. If you want to install a package and ensure that that package will be installed IF AND ONLY IF dependencies were satisfied, add "--no-force-all" to dpkg (ie. dpkg --no-force-all -i package.deb). – Camicri Jun 12 '14 at 23:02
  • Thanks CamicriSystems for your answer, But the title is "Debian Packaging" that deliver my means which is about Debian Packaging Configuration. – Rc Ss Jun 12 '14 at 23:35
0

you list dependencies in the Debian/control file.

See https://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps

  • I read it, but I need a straightforward help. In your provided link, I think doesn't matter how to check for UNINSTALL a package during check for dependencies. Many thanks for your answer. – Rc Ss Jun 13 '14 at 16:09
  • If you need help, post your configuration file (the control file) and a detailed description of the problem or question. Simply stating something is broken does not help us to help you. – Panther Jun 13 '14 at 16:33
  • Thanks in advanced man. I'll be ask it in another Q, because I think you put the correct answer for my semi-question now. Appreciate it. – Rc Ss Jun 13 '14 at 18:13

Not the answer you're looking for? Browse other questions tagged or ask your own question.