SUMMARY: Removing Patches

From: John Bradley (john.bradley@sr5.chinalake.navy.mil)
Date: Fri Aug 01 1997 - 11:53:31 CDT


Thanx for the responces (included below).

ORIGINAL:

Fellow Managers,

Could someone point me in the right direction. I want to manualy remove
a patch, so that it doesn't show up in a "showrev -p". I cant use
backoutpatch, because it cant find the original files.

thanx,

jb

SUMMARY:

I found the best way was to intall the patch again, then do a
backoutpatch.
I found the original patch on the install CD since I couldn't get the
right
version from sunsolve.

1. tar xvf <patch.tar>
2. cd <patch>
3. ./installpatch -u .
4. cd /var/sadm/patch/<patch>
5. ./backoutpatch <patch>

I also found another solution at the Sun Mangages Archives.
http://www.latech.edu/sunman.html

-------------------
From:
       robin.landis@imail.exim.gov
    To:
       John Bradley <john.bradley@sr5.chinalake.navy.mil>

     If you applied the patch, saving "pre-patch data" it would default
to
     /var/sadm/patch/XXX/log where XXX is the patch-id (ie. 103550-09).
     This contains the backoutpatch file. Hope I'm not telling you
     something you already know. .....Robin
---------------
From:
       Glenn Satchell - Uniq Professional Services
<Glenn.Satchell@Uniq.com.au>
    To:
       john.bradley@sr5.chinalake.navy.mil

The brute force method is rm -r /var/sadm/patch/<patch-id>. I use that
whenever I supercede a patch.

regards,

--
Glenn Satchell   glenn@uniq.com.au    www.uniq.com.au  | Windows:
Uniq Professional Services Pty Ltd    ACN 056 279 335  | 
PO Box 70, Paddington,  NSW 2021,  (Sydney) Australia  | Just another
pane
Phone 02 9380 6360 Pager 016 287 000 Fax 02 9380 6416  | in the glass...
      VISIT OUR WEB SITE http://www.uniq.com.au

----------------------- From: baldma@aur.alcatel.com (Mark A. Baldwin) To: john.bradley@sr5.chinalake.navy.mil

John,

1: Edit out all references to the undesired patch from the pkginfo files in the /var/adm/pkg/* directories. Locate these references by: cd /var/adm/pkg grep <patch-id> */pkginfo

2: Remove the directory /var/sadm/patch/<patch-id>.

Good luck, Mark... ------------------------ From: Seth Rothenberg <SROTHENB@montefiore.org> To: john.bradley@sr5.chinalake.navy.mil

John, We had to do this when showrev -p was reporting a patch that was not really installed.

We did cd /var/sadm/ mkdir nonpatch mv patch/102146-07 nonpatch/102146-07 Note, you probably should install a patch at this point, because the system really will be confused....

Seth -- wwwww g( o o )g ----------------------------------------------o00--(_)--00o--- + John Bradley NAWC Chinalake, CA + + UNIX/PC/Mac/Network Administrator-CTA Inc. + + Phone: 760.939.5887 Fax: 760.939.9581 .oooO Oooo. + + E-Mail: john.bradley@chinalake.navy.mil ( ) ( ) + ------------------------------------------------\ (---) /----- \_) (_/



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