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

HP-UX Handbook Rev 13.00 Page 7 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
product[.fileset][, version]
bundle[.product[.fileset]][, version]
where the version has the form:
[r= revision][,a= arch][,v= vendor][,c= category]
(The version may also have a l= locationcomponent that applies only to installed software and
refers to software installed to a location other than the default product directory.)
The software_spec attribute contains the full software specification for any bundle, product, or
patch. You can use the swlist command to display this information. The following example
shows how swlist can create a list of the software specifications for a patch at the fileset level.
The software specification for the patch product appears in the output as a comment.
# swlist -l fileset -a software_spec PHKL_18543
# PHKL_18543 PHKL_18543,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP
PHKL_18543.C-INC PHKL_18543.C-INC,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-UX_B.11.00_32/64
PHKL_18543.CORE-KRN PHKL_18543.CORE-KRN,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-
UX_B.11.00_32/64
PHKL_18543.CORE2-KRN PHKL_18543.CORE2-KRN,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-
UX_B.11.00_32
PHKL_18543.KERN2-RUN PHKL_18543.KERN2-RUN,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-
UX_B.11.00_32
PHKL_18543.VXFS-ADV-KRN PHKL_18543.VXFS-ADV-KRN,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-
UX_B.11.00_32
PHKL_18543.VXFS-BASE-KRN PHKL_18543.VXFS-BASE-KRN,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-
UX_B.11.00_32
PHKL_18543.VXFS-PRG PHKL_18543.VXFS-PRG,l=/,r=1.0,a=HP-UX_B.11.00_32/64,v=HP,fa=HP-
UX_B.11.00_32/64
The IPD Installed Product Database
An SD “catalog” is a database of information about software. For example, a depot is a “catalog”
plus the set of files described by the catalog. The IPD (Installed Product Database) is a specific
instance of an SD catalog found at /var/adm/sw/products. This database (or catalog) does not
contain the software itself. It only contains the meta data, i.e. data about SD objects. The kind of
data kept in the catalog are all the object attributes (i.e. revision=1.2”), all the control scripts
(preinstall, postremoved, ...), swask response files, permission (swacl) files, etc.
IPD File listing
The IPD is not a single file but a hierarchy of files located in /var/adm/sw/products. In the top