On 2019-04-15, Richard Owlett <rowl...@cloud85.net> wrote:
>> 
>
> Neither
>    > $ dot -Tps -o APT::Cache::GivenOnly=1 dependency-graph.dot > owl2.ps
> Nor
>    > $ dot -o APT::Cache::GivenOnly=1 dependency-graph.dot
> gave useful output.
>
> I'll do some reading and try on something simpler.
> Thanks
>
>

That doesn't seem to be how you're supposed to do it.

I'm reading

Create the graph (with no package given all packages in the cache are
graphed):

 apt-cache dotty apache2 > apache-dependency-graph.dot

Visualize the graph:

 dot -Tpng apache-dependency-grap.dot

But there's still too much stuff in there maybe to be legible. DW
suggests a restriction of the graph to only the packages given on the
command line. 

 apt-cache -o APT::Cache::GivenOnly=1 dotty apache2 apache2-common (etc.).

http://www.macfreek.nl/memory/Dependency_Graph_Debian_Packages



Reply via email to