[pca] pca and the liveupgrade needs?

Martin Paul martin at par.univie.ac.at
Tue Nov 17 12:37:31 CET 2009


Martin Paul wrote:
> Gerard Henry wrote:
>> before applying the liveupgrade procedure, we need to verfiy a bunch 
>> of patches on this document:
>> http://sunsolve.sun.com/search/document.do?assetkey=1-61-206844-1
> 
> I'm attaching a small script I've used for the same purpose in the past. 
> Run it like that:
> 
>   $ ./chkmin 118815-05 120900-04 ...
> 
> It will only output those patches from the list which are not installed 
> in at least the specified revision already.

Now that I've tried my script in a real-world scenario, I noticed that 
it had one big deficiency: The list of patches for LU includes many 
patches which are obsoleted by other patches, but chkmin didn't 
recognize that such obsoleted patches don't have to be listed if the 
patch which obsoletes it is installed. I've fixed that in a new version, 
available at:

   http://www.par.univie.ac.at/solaris/pca/contrib.html

This reduced the set of patches to be installed on a Solaris 10 8/07 
from 24 to 4 in a blink. And none of them needs a reboot, yippiee :)

It also showed me that it's a good idea for Sun to include obsolete 
patches on the list, e.g. 138130-01 (SunOS 5.10: vold patch). If you 
follow the obsoletion chain, you end up installing 141444 (SunOS 5.10: 
kernel patch) which pulls in a lot of required patches and needs a 
reboot. You're better off to install the obsoleted 138130-01 instead, 
and still fulfill the requirements of the LU patch list.

Martin.



More information about the pca mailing list