debtree — package dependency graphs on steroids

Introduction

Example: aptitude

  1. Graph from apt-cache (for comparison)
  2. Basic graph (only hard dependencies and conflicts)
  3. Basic graph with Recommends
  4. Basic graph with Recommends and Suggests
  5. Basic graph with Recommends and showing alternatives
  6. Default graph (showing Recommends, alternatives and versions)
  7. Default graph with Suggests
  8. Default graph with Suggests and versioned Conflicts
  9. Default graph (rotated)

This graph is quite a bit larger than the basic one, almost entirely due to the addition of the recommended package libparse-debianchangelog-perl and its dependencies. If we wanted to limit the graph, this would be an obvious candidate.

Note the Provides/Conflicts combination from libtimedate-perl to timedate.

$ debtree --no-alternatives --no-versions aptitude


Dependency graph for aptitude
Generated .dot file: DOT
Full-sized images: PS | PNG | SVG

Equivalent graph for debconf