On Thu, Jan 06, 2005 at 12:06:43PM -0700, Matthew Peltzer wrote:
> Does there exist a tool for generating a global dependency graph for
> fink's packages?

If you want a graphical representation of this, try the following:

    apt-cache dotty > dependencies.dot
    dot -Tps -o dependencies.ps dependencies.dot

And then use gv or whatever to view the resulting PS file.  The
resulting graphs can often be extremely large.

Dot is part of the graphviz package.  It can generate several other
output formats; see the manpage for details.

> My goal is to remove any unecessary packages that may have been
> installed as a dependency, but were not removed when the requiring
> package was removed.  My idea is that I can build a graph of the
> dependency tree described in the .info files, then use 'fink list' to
> mark the status (available, unstalled, update available) of all
> packages, and present the information to the user.
 
But if that's all you want, then check out the debfoster package.  It
was created to do exactly what you describe.

Richard


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to