[pca] (Re-)install all patches for a product

Don O'Malley Don.Omalley at Sun.COM
Mon Dec 15 14:47:27 CET 2008


Hi Michael,

Short answer is to re-install the missing patches.
Patchadd will apply the patch to any package which it has not yet been 
applied to.

As Martin has pointed out, there is no easy way to identify partially 
installed pkgs - unless you wanted to script something to analyze the 
patch logs in /var/sadm/patch/<patchid>/log for messages similar to:

bash-3.00# cat /var/sadm/patch/139099-01/log 
Package not patched:
PKG=SUNWgtarS
Original package not installed.
.
..
...

Best,
-Don

Michael Schmarck wrote:
> Hello.
>
> How do you (re-)install all the patches for a given product?
>
> Say you've got S10U5 installed and had originally Sun SSHD
> installed. Being a good PCA user :), patch 128318-01 (see
> http://sunsolve.sun.com/search/document.do?assetkey=1-21-128318-01-1)
> got installed.
>
> For some reason or the other, Sun SSHD got deinstalled and
> then the original, unmodified sshd packages (ie. SUNWsshcu
> and friends) got reinstalled from the S10U5 DVD.
>
> Now the patches (eg. 128318-01) are of course missing.
>
> How would one go about re-installing missing patches?
>
> Or is PCA already clever enough to reinstall 128318-01,
> if it is "missing" (it's of course not missing, because
> it got installed some time ago but it's a sense "missing",
> because the patched files got overwritten by non patched
> files).
>
> Thanks a lot for your help and hints!
>
> Michael
>
> PS: SSH and 128318-01 is just an example.
>
>
>   



More information about the pca mailing list