I am working on a script to back trace debian package (program) dependencies.
Here is how the systems works Package A needs packages D,E & F installed before it will install Package D needs package G, H & I installed before it will install Package G needs package C, J & K installed before it will install Package C needs package Y installed before it will install Given a list of package names and their dependencies How can I prove that package A actually depends on package Y For those who may be curious here id the format that the list is in. There are other elements (Priority: Section: Installed-Size: Maintainer: Architecture: Source:-) and still more, but Package and Depends are the one I need to use to do this Package: xpdf-utils Depends: libc6 (>= 2.3.6-6), libgcc1 (>= 1:4.1.0), libpaper1, libstdc++6 (>= 4.1.0), xpdf-common (= 3.01-9) Any help would be great. Thanks Tony
