Figure 3-1 Patch Supersession Chain in a Patch Family

The cumulative nature of a patch allows it to satisfy all dependencies on all patches it supersedes. The converse is not true, however. A superseded patch will not satisfy a dependency on a superseding patch. For more information about dependencies, see “Patch dependencies” (page 31).

You can determine which patches a given patch supersedes by viewing either the patch's patch details page or the patch's patch text file. See the Supersedes field for more information.

Advanced topic: displaying supersession information

By default, the swlist command does not show superseded patches, but you can use the show_superseded_patches option to show them. Enter this command:

swlist -l patch -x show_superseded_patches=true

You can also use the HP-UX Patch Tool show_patches to show superseded patches. To show superseded patches, enter this command:

show_patches -s

You can list the filesets that have directly superseded the filesets of a given patch installed on the system. This is done by using the swlist command to show the superseded_by attribute of the patch. In the following example, patch PHSS_27875 is superseded by patch PHSS_28681:

swlist -llevel -aattribute \ -xoption=valuepatch_id

For example:

$ swlist -l fileset -a superseded_by \

-x show_superseded_patches=true PHSS_27875

#Initializing...

#Contacting target "some_system"...

#Target: some_system:/

#

# PHSS_27875

PHSS_27875.X11-JPN-S-MSG PHSS_28681.X11-JPN-S-MSG,fa=HP-UX_B.11.11_32/64

Ancestors and supersession 27