1834129 Members
2941 Online
110064 Solutions
New Discussion

swlist vs show_patches

 
SOLVED
Go to solution
MikeL_4
Super Advisor

swlist vs show_patches

I was running show_patches to check superseded patches and noticed in the man page that, "swlist was modified in PHCO_20078 so that a display of superseded patches can be suppressed." I currently have PHCO_27672 installed so I am good there but can't find how to supress the superseded patches.
In my current outout for an example I have the following listed for the libc cumulative patch:

PHCO_16629 1.0 libc cumulative patch
PHCO_17601 1.0 libc cumulative patch
PHCO_18103 1.0 libc cumulative patch
PHCO_19391 1.0 libc cumulative patch
PHCO_19491 1.0 libc cumulative patch
PHCO_22314 1.0 libc cumulative patch
PHCO_23770 1.0 libc cumulative patch

and would like to cut down the list so only the most current would appear, i.e.:

PHCO_23770 1.0 libc cumulative patch

Is there any option in swlist to accomplish this or any other alternative ??

Thanks
4 REPLIES 4
Jeff Schussele
Honored Contributor
Solution

Re: swlist vs show_patches

Hi,

Not sure why you're seeing the supersedes, but swlist does have an option show_superseded_patches , but it's false by default.
It couldn't hurt to be explicit, so use the following:

-x level=patch -x show_superseded_patches=false

It may be that since you're not explicitly defining the level patch, that the latter option does not apply.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
MikeL_4
Super Advisor

Re: swlist vs show_patches

Jeff

You are a life saver..... it worked perfectly.

Do you know if the old HP-UX 10.20 has an patch that would give this same results ??
Jeff Schussele
Honored Contributor

Re: swlist vs show_patches

Hi Mike,

Take a look at PHCO_20824 - patch cleanup utility

http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_20824&context=hpux:800:10:20

And PHCO_23453 - SD cumulative

http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_23453&context=hpux:800:10:20

If you use the ITRC search utility & search 10.2 patches only with the keyword "swlist" they are several more hits, but these two looked the most likely.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
MikeL_4
Super Advisor

Re: swlist vs show_patches

Jeff

Thanks alot for all your help...