Remove or backout patches in Solaris

By default, the files replaced by the application of a patch in Solaris are preserved to enable removal of the patch and restoration of the system to its pre-patched state.


To remove a typical patch, such as 116012-01, run this command as superuser:

patchrm 116012-01

If you specified a non-default backout directory during the patchadd process, you must specify that during the patch removal. If the backout directory was /var/tmp/patch/backout, then the removal command would be:

patchrm -B /var/tmp/patch/backout 116012-01

You must specify the fully qualified (absolute) path to the backout directory.

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.