Software Distributor Administration Guide for HP-UX 11i
Managing Patches
Patch Management Tasks and Examples
Chapter 5178
swinstall.patch_filter_choices={
*.*,c=enhancement
*.*,c=critical
}
swcopy.patch_filter_choices={
*.*,c=halts_system
}
Listing Patches
Software objects with the is_patch attribute set to true have the
built-in, reserved category of patch. This lets you list available patches
and patches with a certain name.
You can also list patches with the swlist GUI (invoked by swlist -i).
For example, to list all products and bundles in a depot that have the
is_patch attribute set to true:
swlist -d -l product -l bundle *,c=patch
...
PHSS_15851 1.0 Xserver cumulative patch
PHSS_16482 1.0 CDE Localization for UTF8 locales
PHSS_16587 1.0 HP aC++ runtime libraries
...
You can list the patches that have been installed for a given base
software product or fileset using the -l patch option.
For example, to list the patches applied to the X11.X11R6-SHLIBS fileset:
swlist -l patch X11.X11R6-SHLIBS
# X11.X11R6-SHLIBS B.11.00 X11R6 shared libraries
PHSS_15840.X11R6-SHLIBS 1.0 X11.X11R6-SHLIBS applied
PHSS_17422.X11R6-SHLIBS 1.0 X11R6 shared libraries
applied
You can list the products and filesets to which a patch applies by listing
the ancestor attribute. You can generate a list of patches that a given
patch superseded by listing the supersedes attribute of the patch fileset.
By default, swlist will only show the latest patches installed on a system
(i.e., those patches that have not been superseded). To list superseded
patches, set the show_superseded_patches option to true:
swlist -x show_superseded_patches=true