Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
3. Check for correct states in the filesets (installed, configured or available). For installed software,
swverify also checks for multiple versions that are controlled by the
allow_multiple_versions option:
If allow_multiple_versions is false, an error is produced that multiple versions of
the product exist and the option is disabled.
If allow_multiple_versions is true, a warning is issued saying that multiple versions
exist.
4. Check dependencies. An error or warning is issued if a dependency cannot be met.
Dependencies are controlled by the enforce_dependencies option:
If enforce_dependencies is true, an error is generated telling you the type of
dependency and what state the product is in.
If enforce_dependencies is false, a warning is issued with the same information.
If the dependency is a corequisite, it must be present before the software will operate.
If the dependency is a prerequisite, it must be present before the software can be installed
or configured.
5. Execute verify or fix scripts on installed software in prerequisite order.
A verify script is used to ensure that the configuration of the software is correct. Possible
vendor-specific tasks for a verify script include:
Determine active or inactive state of the product.
Check for corruption of product configuration files.
Check for (in)correct configuration of the product into the OS platform, services or
configuration files.
Check licensing factors.
Vendor-supplied scripts are executed and the return values generate an ERROR (1) or a
WARNING (2).
Scripts are executed in prerequisite order.
6. Perform file-level checks for:
Contents (mtime, size and checksum) for control_files
Contents (mtime, size and checksum) for files
Missing control_files, files and directories
Permissions (owner, group, mode) for installed files
Proper symlink values
Using swverify
Syntax
swverify [-d|-r] [-F][-v] [-C session_file] [-f software_file]
[-Q date] [-S session_file] [-t target_file]
[-x option=value] [-X option_file]
[software_selections][@ target_selections]
Options & Operands
-d Operate on a depot rather than installed software. See “Verifying
a Depot (swverify -d) ” (page 101)
-r Operate on an alternate root rather than /. Verify scripts are not
run.
58 Installing Software