HP-UX HB v13.00 Ch-05 - SD-UX

HP-UX Handbook Rev 13.00 Page 36 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
been removed or were never created, since the flag -x
patch_save_files=false was set during installation. Refer to the
Patch Rollback section.
superseded The patch is superseded by another installed patch. The superseding
patch can be found using the -a superseded_by command-line
option of swlist. It will switch back to applied or committed if you
swremove (roll back) all superseding patch(es).
For troubleshouting we would like to get a complete view of the system, i.e. products and
patches. Simply do:
# swlist -l product >swlist.out
You may also list the patches from the fileset point of view. To list all filesets on the system and
the patch filesets that affect them including status, revision, etc. do:
# swlist -l patch
you may grep for all applied patches
# swlist -l patch | grep applied
and/or omit the superseeded patches:
# swlist -l patch -x show_superseded_patches=false | grep applied
Remember that a patch may be listed more than once because it may affect multiple filesets
What patches are applied to a product or fileset. e.g. LVM:
# swlist -l fileset -a applied_patches LVM
Which filesets are patched by which patch:
# swlist -l patch -a applied_to \*.\*,c=patch
Is a specific patch or one of its successors installed:
# swlist -l patch -a supersedes -x show_superseded_patches=false | grep patch
NOTE: Listing patches can be eased with the show_patches tool. Invoke show_patches
without options to obtain a neat list of all active patches on the system.
Installing Patches
SD-UX can handle patches (as well as regular products) in two different formats:
SD directory format or SD file format. Refer to the Software Distributor Chapter for details.
Which format you deal with depends on the source where you got the patches from.