SUMMARY: Removing superseded patches



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@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • 9_Recommended error codes (specifically return code 5)
    ... * "return code 2" indicates patches are already installed. ... * "return code 25" means a patches requires another patch that is not yet installed. ... With or without using the save option, the patch installation process ... Installing 114008-01... ...
    (SunManagers)
  • Re: This is [Re:] How to improve the quality of the kernel[?].
    ... The -mm kernel already implements what your proposed PTS would do. ... If patch have no TS ID, ... Thus i can apply for example lguest patches and implement and test new ... How many open source projects use Bugzilla and how many use the Debian BTS? ...
    (Linux-Kernel)
  • Re: ATTACK of the WEEK-fentanyl patches
    ... FDA warns of deaths from fentanyl patch ... Some of the deaths came after doctors prescribed the patches to the ... The drug is only for chronic pain in people used to narcotics, ...
    (alt.support.chronic-pain)
  • Tru64 and OpenVMS patch announcements change after next month
    ... distribution of various patches ... OpenVMS systems with DCE and/or RPC installed. ... Update on OpenVMS and Tru64 UNIX Patches in HP ITRC ... Tru64 patch server will soon be shutdown. ...
    (Bugtraq)
  • Re: Conflicting info between the global Security Bulletin and some SPi Security Bulletin
    ... The MS02-050 is explicitly listed as included in SP4 AND in Rollup 1 ... I think the correct answer is that it depends on the era of the patch. ... installers do not always use such ... patches later than the end of 2002 are ...
    (microsoft.public.win2000.security)