Here is my problem. We use Sun Connection for path deployment
This works fine! Recently I was asked to submit a report listing
Which patch is dependent of which patch.
It is possible to do this by going on sunsolv getting you patch
In the readme and finding its dependencies.
My question. Is there a tool out there that you can use to find
The dependency tree of a patch. In other words if input patch
xxxxxx-xx it is dependent on patch yyyyyy-yy which in turn
is dependent on ..
I once developed a patching script which did this analysis using the patchdiag.xref file from SunSolve (which includes all the metadata about what depends on what) and made use of the 'lorder' utility to sequence the dependencies in order to get the patches applied in the right order.
It's not hard, but it's not a few minutes' work either.
You might be able to get the author of the excellent PCA patch tool ( http://www.par.univie.ac.at/solaris/pca/intro.html ) to add an option to PCA for reporting this kind of information, since it already has the dependency information available.
Make a donation and ask nicely - you never know if that will help, and he deserves money for PCA, in my opinion.
Also note that the [patchfinder utility|http://sunsolve.sun.com/patchfinder/|patchfinder utlity] now lets you put a bunch of patches in the basket and then lists the dependencies of each patch underneath them in the basket.
It will also let you either download just the patches in the basket, or alternatively all the dependencies as well.
It lists the specified patch and all its requirements (recursively) in the correct order. Of couse it can also download and install the patches - you need to specify your MOS account for that. See the docs (e.g. pca --man).
One caveat: Oracle includes information about the most current release of each patch. So it's not possible to list e.g. the requirements of 144488-05, simply because PCA doesn't have the necessary data. Usually that's not a problem, as you deal with the most recent revision of a patch anyway.
Martin (author of PCA).
P.S.: As for the donation, look at http://www.par.univie.ac.at/solaris/pca/donation.html :-)