On Thu, Mar 14, 2002 at 11:08:42PM -0800, Randolph Chung wrote: > 2. Ideally one might want to recursively list all the dependents of build- > dependencies too, but that is probably too expensive to compute.
On my Pentium 166MHz, the following command took about 10s (real) to run, with devscripts (>= 2.6.90) installed: polya:~ $ perl -I/usr/share/devscripts -MDevscripts::PackageDeps -e '$pkgs=new Devscripts::PackageDeps("/var/lib/dpkg/status"); print join("\n",$pkgs->full_dependencies("build-essential")),"\n"' perl-modules cpp libstdc++2.10-glibc2.2 [...] binutils libstdc++2.10-dev make polya:~ $ It could be easily modified to give the required output. Julian -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Julian Gilbey, Dept of Maths, Debian GNU/Linux Developer Queen Mary, Univ. of London see http://people.debian.org/~jdg/ http://www.maths.qmul.ac.uk/~jdg/ or http://www.debian.org/ Visit http://www.thehungersite.com/ to help feed the hungry