[pca] Why try to install patches that are already applied?

Jeff Blaine jblaine at kickflop.net
Tue Mar 4 09:58:56 CET 2008


Here's one example:

bash-2.05# cd /export/sun-patches/files && /silmaril.foo.com/tmp/pca -y 
--xrefdir=/silmaril.foo.com/tmp --patchdir=/export/sun-patches/files 
--user=MYUSERNAME --passwd=MYPASS --backdir=/silmaril.foo.com/tmp 
--install installedrs

...

Using /silmaril.foo.com/tmp/patchdiag.xref from Feb/29/08
Host: silmaril.foo.com (SunOS 5.9/Generic_122300-21/sparc/sun4u)
List: installedrs

Patch  IR   CR RSB Age Synopsis
------ -- - -- --- --- 
-------------------------------------------------------
112951 14 = 14 RS-  98 SunOS 5.9: patchadd and patchrm Patch

Downloading 112951-14 (1/165)
Skipped (file exists)

Installing 112951-14 (1/165)
Unzipping patch
Running patchadd


Checking installed patches...
Patch 112951-14 has already been applied.
See patchadd(1M) for instructions.

Patchadd is terminating.

Failed (exit code 2)
...

Martin Paul wrote:
> Jeff Blaine wrote:
>> When applying a lot of patches (606 in fact), this eats up a
>> lot of time.  Why is PCA trying to do anything here when it
>> shows '01 = 01' ?
> 
> It shouldn't do so - can you show us the actual pca command line you are 
> using?
> 
> Maybe you are running "pca -i all" instead of the default patch group 
> ("missing"). Be aware that "all" only really makes sense when using it 
> with e.g. "pca -l all" to list all patches that apply to a machine, both 
> the ones which are installed and those which are missing.
> 
> Martin.
> 



More information about the pca mailing list