SUMMARY:How to remove an obsoletes patch?

From: Zion_Huang@focusppo.com
Date: Mon Jun 28 1999 - 12:33:33 CDT


My sincere thanks to:

Darren Dunham
Dave Foster
Michael Wang
Chad Rytting
John groenveld
Colin Melville
Tom Clift

Most of the replies suggest to use patchrm command to remove it.

The most helpful info is from Colin and Darren and here are what they
explained about the showrev -p command

>From Colin:
"If you're talking about obsoleting it with 105401-20, the patch install
for
105401 will take care of 105524 for you. The "obsoletes" entry is FYI
only."

>From Darren:
"I don't see that it's installed on your system. You have supplied
information that you have the following patches

106183-03
105642-03
105401-09

And no others."

If I understood correctly, the older patch 105524 was removed by the patch
105401-02 script and the showrev -p info with obsoletes entry is only for
FYI. I do not have to do anything to remove the obsoleted patch off the
system because it is not existed in the system any more.

Other userful info:

>From Dave:
If there is no backoutpatch to run then chances are there are no save
files either, so you can't back out the patch. If you know which
packages the patch updates you *may* be able to remove them, but then
you would have to replace them with something (perhaps an earlier version
of the patch, or from the OS cd). Just be careful it isn't something
critical!

>From Chad:
Try the following command:

patchrm 105524-01

This should work, unless one or more of the following is true:

The patch was istalled with patchadd -d. (The -d option instructs
patchadd not to save copies of files being updated or replaced.)
The patch has been made obsolete by a later patch
The patch is required by another patch
The patchrm command calls pkgadd to restore packages saved from the
initial patch installation.

>From John:

Casper Dik's fastpatch program removes obsoleted patch data.
ftp://ftp.wins.uva.nl/pub/comp/solaris/auto-install/

here is the original question:

To All Helpers:

Platform: Solaris 2.6 running on Ultra-Enterprise II.
Here is the partial info from showrev -p command.
I want to remove the obsoleted patch such as 105524-01 in the following.

How do I remove them off the system?

I have checked into the /var/sadm/patches and there is no backoutpatch
script to run.

Can I just use pkgrm 105524-01 to remove it?

Thanks,

Zion
# showrev -p | pg
Patch: 106183-03 Obsoletes: Requires: 105181-05, 105222-02, 105223-02,
105492-0
2, 105600-02, 105604-03, 105651-03, 105742-02, 105795-02, 105836-02,
106168-01,
106169-01, 106170-01, 106171-01, 106172-01, 106173-01 Incompatibles:
Packages:
SUNWkvm, SUNWcsu
Patch: 105642-03 Obsoletes: Requires: Incompatibles: Packages: SUNWkvm
Patch: 105401-09 Obsoletes: 105524-01 Requires: Incompatibles: Packages:
SUNWc
su, SUNWcsr, SUNWnisu



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:23 CDT