[pca] Oracle removed support from patchdiag.xref for --minimal option in pca?

Jeff variverrat at gmail.com
Tue Jun 14 16:29:44 CEST 2011


Thanks for the suggestion Martin, hadn't used chkmin before.

This was the syntax I ended up using, not pretty:  pca -l `./chkmin \`cat
AprCPU.lst\``

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.

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.

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.





On Tue, Jun 14, 2011 at 3:55 AM, Martin Paul <martin at par.univie.ac.at>wrote:

> Jeff wrote:
>
>> From the way I understand how PCA works, when specifying a specific
>>> revision
>>>
>> of a patch, it does no checking prior to trying to install, since it can't
>> reference pre-reqs and supercedings in patchdiag.xref.  As a test, I
>> grabbed
>> the patch list from the CPU readme and fed it into PCA, it downloaded and
>> tried to apply all 209 patches.
>>
>
> Yes, that's correct, both your assumption and the behaviour.
>
>
>  I prefer to stick with only the revisions in the CPU, since I hope there
>> is
>> a greater chance they are well tested before released.
>>
>
> 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:
>
>  $ pca --install `cat cpu_patches.txt | ./chkmin`
>
> Let us know if you try it!
>
> Martin.
>
>


-- 
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.univie.ac.at/pipermail/pca/attachments/20110614/47656127/attachment.html>


More information about the pca mailing list