Developing my own package manager: how do I resolve dependencies?

Posted by shantanu on Ask Ubuntu See other posts from Ask Ubuntu or by shantanu
Published on 2012-07-01T06:44:42Z Indexed on 2012/07/01 9:22 UTC
Read the original article Hit count: 423

According to debian control file ant package's dependency list is:

Depends: default-jre-headless | java2-runtime-headless | java5-runtime-headless | java6-runtime-headless, libxerces2-java

That means it depends on default-jre-headless or java2-runtime-headless or java5-runtime-headless or java6-runtime-headless. But how could i determine that which package need to select as dependency?

Note: I am trying to develop a package manager. I can not use provided package because they read sources.list file from a specific directory.

© Ask Ubuntu or respective owner

Related posts about package-management

Related posts about dependencies