1829166 Members
2287 Online
109986 Solutions
New Discussion

Patches

 
Elder Silva_1
Occasional Contributor

Patches

hi, how do I remove all superceeded patches?

tHanks
5 REPLIES 5
Piergiacomo Perini
Trusted Contributor

Re: Patches

Hi,

try with "man swremove" and pay attention
at the option.

hope this help
regards
pg
melvyn burnard
Honored Contributor

Re: Patches

If you are asking how do you remove patch filesets that have been saved after installing a newer version of the patch, use swmodify:
man swmodify:

Commit a patch (remove files saved for patch rollback):

swmodify -x patch_commit=true PATCH

where PATCH is the patch you wish to commit
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Pete Randall
Outstanding Contributor

Re: Patches

You could also look into the cleanup command. Do a man on cleanup.


Pete

Pete
Piergiacomo Perini
Trusted Contributor

Re: Patches

hi again ,

also (and maybe better) command "cleanup" can help you, but before read "man cleanup" or HP-UX documentation.

pg
rariasn
Honored Contributor

Re: Patches

Hi Eldre,
Superseded patches are save in /var/adm/sw/save directory.

To free space, use "clenaup" utility.

Verify,

# cleanup -p -c 2

Clean,

# cleanup -c 2

rgs,

ran