SUMMARY: Removing superseded patches

From: Dan Lorenzini <lorenzd_at_gcm.com>
Date: Thu Jan 25 2007 - 16:00:48 EST
The recommended way to remove previous patches is to remove old patch
directories.

These have the form /var/sadm/pkg/<pkg-name>/save/<patch-id>.  So in my
case I could remove /var/sadm/pkg/SUNWglrt/save/120812-12.  If I was
sure that I did not want to back out the -14 patch I could also remove
/var/sadm/pkg/SUNWglrt/save/120812-13.  Be careful not to remove the
<pkg-name> directory itself.

Thanks to Chris Buesgens, Oscar del Rio, Crist Clark and Anthony D'Atri.

Dan

--------
Original message dated: Tue, 23 Jan 2007 10:17:33 EST
--------
> Greetings,
> 
> Is there a clean way to remove patches that have been superseded?  I
> have some machines whose /var/sadm is becoming full due to saved patch
> backout data.  I tried "patchrm -f" but it does not remove the patch.
> Here is a typical example:
> 
>     # uname -a
>     SunOS gssut101 5.10 Generic_118833-24 sun4u sparc SUNW,Ultra-2
>  
>     # du -s /var/sadm/pkg/SUNWglrt/save/*
>     67306   /var/sadm/pkg/SUNWglrt/save/120812-12
>     84426   /var/sadm/pkg/SUNWglrt/save/120812-13
>     84385   /var/sadm/pkg/SUNWglrt/save/120812-14
>     21      /var/sadm/pkg/SUNWglrt/save/pspool
>  
>     # patchrm -f 120812-12
>     Validating patches...
>  
>     Loading patches installed on the system...
>  
>     Done!
>  
>     Checking patches that you specified for removal.
>  
>     Done!
>  
>  
>     No patches to remove.
>  
>     # du -s /var/sadm/pkg/SUNWglrt/save/*
>     67306   /var/sadm/pkg/SUNWglrt/save/120812-12
>     84426   /var/sadm/pkg/SUNWglrt/save/120812-13
>     84385   /var/sadm/pkg/SUNWglrt/save/120812-14
>     21      /var/sadm/pkg/SUNWglrt/save/pspool
>  
> Thanks.
>  
> Dan Lorenzini
> RBS Greenwich Capital

-----------------------------------------
*******************************************************************
*

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorized
to retain, read, copy or disseminate this message or any part of
it.

*******************************************************************
*
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jan 25 16:01:52 2007

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:04 EST