Removing an Unsigned Solaris Patch
When you back out a patch, the patch tools restore all files modified
by that patch, unless any of the following are true:
The patch was installed with the patchadd -d
option, which instructs patchadd to not 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 patch tools call the pkgadd command to restore
packages that were saved from the initial patch installation.
During the patch removal process, the patchrm command
keeps a log of the back out process in /tmp/backoutlog.process_id. This log file is removed if the patch backs out
successfully.
How to Remove an Unsigned Solaris Patch
You can use the smpatch command, the patchrm command, or Solaris Management Console's Patch Manager if you need
to remove an unsigned Solaris patch.
Become superuser.
Remove the patch. # patchrm patch-ID-revision
|
Or,
# /usr/sadm/bin/smpatch remove patch-ID-revision
|
Verify that the patch was removed. # patchadd -p | grep patch-ID-revision
|
Examples--Removing an Unsigned Solaris Patch
The following example shows how to remove the Solaris 8 patch, 111879-01
with the patchrm command.
# patchrm 111879-01
Checking installed patches...
Backing out patch 111879-01...
Patch 111874-02 has been backed out.
# showrev -p | grep 111879-01
#
|
The following example shows how to remove a Solaris 9 patch with the smpatch remove command.
# /usr/sadm/bin/smpatch remove -i 115028-01
Authenticating as user: root
.
.
.
|
|