1838655 Members
3814 Online
110128 Solutions
New Discussion

Remove patch

 
O'lnes
Regular Advisor

Remove patch

Our system install some patch previously, I think some of them is too old, how can I know which of them is useless and how to remove cos I want to free some space ? Thanks.
Andy
5 REPLIES 5
steven Burgess_2
Honored Contributor

Re: Remove patch

Hi

You can use swremove and select the patch

HTH

Steve
take your time and think things through
T G Manikandan
Honored Contributor

Re: Remove patch

check this doc

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063210668

You can also use the 'cleanup' utility.


Thanks
U.SivaKumar_2
Honored Contributor

Re: Remove patch

Hi,
#swlist -v | more
Note down the name of patches
Verify the function of the patch in this site.

If the patch is not needed. then
#swremove

regards,
U.SivaKumar
Innovations are made when conventions are broken
James R. Ferguson
Acclaimed Contributor

Re: Remove patch

Hi:

Periodically, you should apply a current SupportPlus bundle. Use the Quality Pack Bundle (QPK) for 11.0. Use the GOLDQPK11i for 11.11. When you install these bundles, use the 'patch_match_target' SD option to select patches that match software installed on your host.

Before you apply a new bundle (e.g. every 6 months or so), run 'cleanup' to commit and remove superceded patches to which you will not be returning. If you want to think of these as the "old" patches, that's OK.

# cleanup -c 1

This will leave one level of a previous patch version available. Thus, if a newer version of a patch proves to be a problem, a 'swremove' of it will re-instate the "old" version. 'cleanup' will reclaim considerable space in the '/var/adm/sw' directory by removing predecessor versions of current patches. 'cleanup' will also trim the SD log files in 'var/adm/sw'. It is the *only* way that this directory should be managed. Do *not* manually remove files from here.

It is a good idea to create a current Ignite recovery tape before a patch installation.

Regards!

...JRF...
Ravi_8
Honored Contributor

Re: Remove patch

Hi,

Patches hardly takes space, instead if you feel like replacing the old patches with new ones, then mount the latest Support plus CD then
#swinstall -x patch_match_target=true -s /cdrom

with this all the old patches are replaced with new ones.
never give up