more yum tools that we haven’t really done much with :)
September 5, 2008
Due to some packages that had issues building it was useful today to put together a script to check all the packages that depend on something provided from any given package. I wrote a version of this to start with but it only went 2 levels deep. Then I remembered that James had written something similar but for checking what things any given package depend on.
His is right here: http://people.redhat.com/jantill/yum/commands/pkg-deps-tree-view.py
His went down the dependency tree from a package. I took it and swapped it around to work on provides instead of deps. Mine is here:
In either case you run it with a package name as an argument. If you use James’ it will list in a tree view all the packages that your package depends on, recursively. If you use mine it will list all the packages that depend on something that your package provides.
I think I may work on trying to make them be one script you pass an option to for one or the other. But as it is, it’s pretty useful.
Give it a try.