Operating System - HP-UX
1833105 Members
3400 Online
110051 Solutions
New Discussion

How to remove patch entries from the swlist?

 
Peter Cvar
Occasional Advisor

How to remove patch entries from the swlist?

XSWGR1100 patch bundle has been installed on a L1000 (HP-UX 11.0) server . Patch bundle has been installed from December 2000 Support CD with "Manage Patch Selection" (selection from the "Actions" menu in the SD Install utility). System works OK and all patches are configured.

Problem is in the "swlist". swlist shows all patches from the bundle separated (one by one for a few screens) instead of only one patch bundle - XSWGR1100. Is there a way to clear these idividual patch-entries from the swlist. XSWGR1100 entry is also present in the swlist.

Thanks, Peter
3 REPLIES 3
Rita C Workman
Honored Contributor

Re: How to remove patch entries from the swlist?

If you run the command swlist you will see the bundle listed at the top along with software loaded....then you see the inidividual patches listed.
This is normal.
Patches are maintained on an individual basis because you may need to remove just one of them.
An example happened here recently, installed a recent patch bundle and discovered that one patch (part of the bundle) created a conflict with an existing patch for MIME. Had to remove the one conflicting patch...and reinstall the existing patch. That's why the individual listing of patches....
AND it is also a good reason why you want to let things stand for awhile after patching (especially with a bundle) to make sure everything is OK - before you do a patch cleanup utility.

Regards,
Bruce Regittko_1
Esteemed Contributor

Re: How to remove patch entries from the swlist?

Hi,

The only way for swlist to not report the patches would be to remove the patches. Like Rita says, you probably don't want to do that. As a workaround, try piping the output to grep -v '^PH'. This will print all lines of swlist output except those that begin with PH.

--Bruce
www.stratech.com/training
Sarah Plunkett
Advisor

Re: How to remove patch entries from the swlist?

Hi Peter,

swlist, without any options will show bundles installed and patches not contained within a bundle.

If you are definately seeing the patches that are identified as belonging to the bundle in this output, then this indicates that the patches were either re-installed (outside of the bundle installation) or are a symptom of something that occurred during the install.

Check the listing of patches from swlist and compare it what you see when you run:

swlist -l patch XSWGR1100

Do you see the same ? You should see a difference.