1827459 Members
4578 Online
109965 Solutions
New Discussion

Re: Redundant Patches

 
SOLVED
Go to solution
Mike Duffy
Frequent Advisor

Redundant Patches

Afternoon,

Does anyone know how to remove redundant (superseded) patch files from a UX 11.00 server?

Need a quick reply so 10 points to first reply

9 REPLIES 9
Pete Randall
Outstanding Contributor
Solution

Re: Redundant Patches

The cleanup command:

cleanup -c 1 (or 2, or 3)

Pete
11:55

Pete
A. Clay Stephenson
Acclaimed Contributor

Re: Redundant Patches

THe install of the newer patch removes/replace the older patch and saves it in /var/adm/sw. You run the cleanup utility to remove the older patches. DO NOT simply rm /var/adm/sw/PHXXXX - your patch database will be clobbered. Man cleanup for details.
If it ain't broke, I can fix that.
Jeff Schussele
Honored Contributor

Re: Redundant Patches

Hi Mike,

cleanup is the command for you.

To remove patches superseded twice use:

cleanup -c 2

To preview actions - use -p

cleanup -p -c 2

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
John Poff
Honored Contributor

Re: Redundant Patches

Oops. I meant 'cleanup -c 2'. The -p switch will preview the patches to be committed.

JP
James R. Ferguson
Acclaimed Contributor

Re: Redundant Patches

Hi Mike:

# cleanup -c 1

...is the quickest, safest way. This leaves one layer to which to return.

Regards!

...JRF...

John Poff
Honored Contributor

Re: Redundant Patches

Hi,

Have you tried the 'cleanup' command? A 'cleanup -p 2' will committ all the patches that have been superseded two times.

JP
Pete Randall
Outstanding Contributor

Re: Redundant Patches

Mike,

If you look at the time stamps, you had 4 replies at least 18 minutes before your question. Isn't that quick enough for you?

;^)

Pete

Pete
Mike Duffy
Frequent Advisor

Re: Redundant Patches

I did assign points yesterday.

I will do it again.

Pete Randall
Outstanding Contributor

Re: Redundant Patches

Mike,

Sometimes they don't take and you have to do it twice - sorry.

Pete

Pete