| United States-English |
|
|
|
![]() |
Patch Management User Guide for HP-UX 11.x Systems > Chapter 3 HP-UX Patch OverviewAncestors and Supersession |
|
The related concepts of ancestors and supersession are integral to patches and patch management. It is important that you gain a basic understanding of both. It may also be helpful for you to recall information presented in “HP-UX Software Structure”. The ancestor of a patch is the original software product that a patch modifies. Ancestry is defined only at the fileset level. Each patch fileset has only one ancestor fileset that composes the base software that a patch modifies. However, there may be one or more versions of this ancestor fileset. The patch fileset has the same extension as its ancestor. For example, fileset Xserver.AGRM is the ancestor of patch fileset PHSS_29183.AGRM. You can see an additional example in “Advanced Topic: Determining Patch Ancestors”. Ancestry impacts both patch installation and patch removal. A patch fileset cannot be installed on a system unless its ancestor fileset software either is already installed or is being installed during the same operation. Similarly, when an ancestor fileset is removed, all the patches that have been applied to it are also removed. You can determine a patch fileset's ancestor using the patch's ancestor attribute with the swlist command. The following command lists the ancestor filesets for the filesets of patch patch_id:
Patch filesets that have been applied to an ancestor fileset are listed in the ancestor's applied_patches attribute. Enter the following command:
For more information see the Software Distributor Administration Guide on the HP Technical documentation Web site at http://docs.hp.com. Supersession is the process of replacing an earlier patch with a new patch. A new patch supersedes all previous patches for its particular patch chain. Upon installation of the new (superseding) patch, its files replace files of the patches being superseded. Patches for HP-UX products are always cumulative. Each new patch contains all aspects of all its preceding patches. A series of patches form a supersession chain. A supersession chain includes the following:
Figure 3-1 shows a simple, hypothetical supersession chain in which a product has been superseded by PHXX_31937, which in turn has been superseded by PHXX_32384, which has been superseded by PHXX_43826. In general, patch numbers increase along a patch supersession chain. 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”. 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. 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:
You can also use the HP-UX Patch Tool show_patches (available via PHCO_18519 and its superseding patches) to show superseded patches. To show superseded patches, enter this command:
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:
You can also show the filesets that a given patch has superseded. These superseded filesets will be listed whether or not they are installed on a system. This is done by using the swlist command to list the supersedes attribute of the patch. Note that the first patch of any particular patch supersession chain does not have a supersedes attribute. In the following example, patch PHSS_28681 is shown to supersede patches PHSS_27875, PHSS_26498, and PHSS_25201. (The output has been reformatted to improve readability.)
When a superseding patch is applied to a system, the superseded patch (if there was one) remains on the system but is not active. Only the top patch of the chain is in the active (applied) state. For more information about patch state, see “Patch State”. You can use the following swlist command to show the patch_state attribute for patch patch_id:
It is important to note that the availability of a newer, superseding patch does not preclude the use of the older patch. Depending on the circumstances, a superseded patch might be a better choice than the patch superseding it. Older patches have had more exposure to varied, real-world use. When they have been shown to induce no ill effects, they are generally safer than newer patches that supersede them. Thus, if two patches in a supersession chain solve the problem you are facing, you may find that the older patch is the better choice. Because HP-UX patches are cumulative, a superseding patch negates the need for the previous patch. As an example, patch PHSS_29377 delivers all the features and fixes of all other patches shown in Figure 3-2: “HP-UX Patch Supersession Chain”. This patch will also satisfy any dependencies on all patches in the supersession chain. SD-UX does not allow you to install a patch that has been superseded by another patch already installed on a system. Using Figure 3-2: “HP-UX Patch Supersession Chain” as an example, if you have patch PHSS_29377 installed on a system SD-UX will not allow you to install patch PHSS_29323. Patch supersession chains can be more complex than the one shown in Figure 3-2: “HP-UX Patch Supersession Chain”. The supersession chain in Figure 3-2: “HP-UX Patch Supersession Chain” is composed of two separate supersession chains that were combined when patch PHSS_29156 superseded both PHSS_29026 and PHSS_29008. Again, because of the cumulative nature of HP-UX patches, patch PHSS_29377 delivers all the features and fixes delivered by the other six patches in this supersession chain. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||