Honored Contributor Honored Contributor
Re: General question about HP patches system.

In Linux and Solaris, one package file = one unit of software that is either installed or not.


In HP-UX, the principles of software packaging system are different: a single depot file can contain multiple filesets that can be independently installed. Those filesets can be grouped as subproducts, products, and/or bundles. As another distinction, each fileset can be either a "base" fileset (containing a complete set of installable files) or a "patch" fileset (replacing one or more files of an already-installed base fileset).


Because of this hierarchical layout, running "swlist" without any options is not so useful when you're checking for software installation requirements: it only gives you a top-level overview, not the whole story.


You'll need to drill down a bit deeper in the SD-UX (= HP-UX Software Distributor, the formal name of the HP-UX software packaging system) hierarchy:

swlist -l fileset -a supersedes

 This will list all filesets, so all the installed patches will appear, even if they are part of a patch bundle. The "supersedes" attribute of each fileset will also be displayed, which should allow you to recognize that a newer patch fileset has superseded the patch you're looking for.