Friday, September 11, 2009

debtree-next - better #Firebird package dependecies graphs in #debian #ubuntu

Inspired by the new dbtree from git now you can do a clean graph for the packages in debian and ubuntu

$ git clone git://git.debian.org/~fjp/debtree.git
Here is the graph for installed files for firebird2.1-classic

$ ./debtree --no-recommends --no-conflicts -I -S firebird2.1-classic >out.dot
$ dot -T png -o out.png out.dot



Here is the graph for installed files for firebird2.1-supper
$ ./debtree --no-recommends --no-conflicts -I -S firebird2.1-super >super_out.dot
$ dot -T png -o super_out.png super_out.dot



Now you can do reverese dependency graph , here is the example for libselinux1 if you dare to remove it

$ ./debtree -I -R --no-recommends --no-conflicts libselinux1 > libselinux.out
$ dot -T png -o libselinux.png libselinux.out
$ gwenview .

No comments: