Showing results for 
Search instead for 
Did you mean: 

Patch software removal

Go to solution
Trusted Contributor

Patch software removal

Very basic question but once I have installed a patch can I then remove the relevant PHSS_xxxx, PHSS_xxxx.depot & PHSS_xxxx.text files?
Acclaimed Contributor

Re: Patch software removal

The source depot files? Yes, you can do this.

Hope this helps!

There are only 10 types of people in the world -
those who understand binary, and those who don't.

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Hakki Aydin Ucar
Honored Contributor

Re: Patch software removal


I think following maybe useful:

Removing Patches at HP-UX 11.x
Patches, when installed, will save the original patched files to a special holding directory
under /var/adm/sw/save. The backup copies of the original files kept in this directory make
it possible to restore files to their pre-patched state. The command below rolls back patch
# swremove PHKL_1234
The only problem with the rollback capability is the disk space that it consumes. The /var
directory can quickly reach 100% of capacity if you are installing many patches. Once you are
convinced that a particular patch is working properly, you may want to recover the disk space
consumed by the backup copies of the original files in /var/adm/sw/save with the swmodify
# swmodify -x patch_commit=true PHKL_1234
Removing these files commits you to retaining the patch on the system.