When you back out a patch, the patchrm command restores all files modified by that patch, unless:
The patch was installed with the patchadd -d option, which instructs patchadd not to save copies of files being updated or replaced)
The patch has been obsoleted by a later patch
The patch is required by another patch
The patchrm command calls pkgadd to restore packages that were saved from the initial patch installation.
During the patch removal process, patchrm keeps a log of the back out process in /tmp/backoutlog.process_id. This log file is removed if the patch backs out successfully.
Use this procedure if you need to remove a Solaris patch.
Become superuser.
Remove the patch.
# patchrm patch-ID-revision |
Verify that the patch is removed.
# patchadd -p | grep patch-ID-revision |
The following example removes the Solaris 8 patch, 111879–01.
# patchrm 111879-01 Checking installed patches... Backing out patch 111879-01... Patch 111874-02 has been backed out. # showrev -p | grep 111879-01 # |