Thanks for the suggestion Martin, hadn't used chkmin before.  <br><br>This was the syntax I ended up using, not pretty:  pca -l `./chkmin \`cat AprCPU.lst\``<br><br>It does reduce the number of patches to 100, but the problem still exists that pca doesn't verify the packages are installed that the patches applies to if a specific revision is requested.  So in the case of the server I'm testing, it was built with the SUNWCrnet cluster, so it has minimal packages and the actual number that would be applied is around 10.  <br>
<br>I really think the best solution is to either convince Oracle to package a patchdiag.xref that cooresponds with the revisions in the CPU within the CPU bundle, or for me to grab patchdiag.xrefs around the release date until I find one that cooresponds with the bundle.  <br>
<br>It's kinda crazy that the best way to manage patching on Solaris systems after all these years continues to be PCA and would hope Oracle would continue to support its' use since there really isn't any valid alternative.  All I have to say is keep up the good work Martin, you are keeping a lot of Solaris shops afloat.<br>
<br><br><br><br><br><div class="gmail_quote">On Tue, Jun 14, 2011 at 3:55 AM, Martin Paul <span dir="ltr"><<a href="mailto:martin@par.univie.ac.at">martin@par.univie.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Jeff wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>From the way I understand how PCA works, when specifying a specific revision<br>
</blockquote>
of a patch, it does no checking prior to trying to install, since it can't<br>
reference pre-reqs and supercedings in patchdiag.xref.  As a test, I grabbed<br>
the patch list from the CPU readme and fed it into PCA, it downloaded and<br>
tried to apply all 209 patches.<br>
</blockquote>
<br></div>
Yes, that's correct, both your assumption and the behaviour.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I prefer to stick with only the revisions in the CPU, since I hope there is<br>
a greater chance they are well tested before released.<br>
</blockquote>
<br></div>
I think the "chkmin" script from PCA's "Contrib" webpage could help here. If you feed it the list of all patches from the CPU, it will reduce it to those which are not installed yet (in the specified revision or higher). You can then feed this reduced list back to PCA for installation. Something like this might give the wanted result:<br>

<br>
  $ pca --install `cat cpu_patches.txt | ./chkmin`<br>
<br>
Let us know if you try it!<br><font color="#888888">
<br>
Martin.<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Jeff<br>