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

HP-UX Handbook Rev 13.00 Page 18 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
Enforces software dependencies. When software selected for removal has a registered dependency, if the
dependencyis not present on the target system or also selected for removal from the source depot, removal only
proceeds if enforce_dependencies is set to false.
While few 11.00 patches currently exist with dependencies enforced by the SD-UX tools, those that do employ
them to enforce critical requirements of content and removal order. However, since all 11i patches enforce
depen-dencies, this option is very useful in maintaining patch integrity and system stability. Do not set this
option to false unless directed to do so by an HP Support Engineer.
enforce_scripts=true
OptionsChange OptionsEnforce script failures
Each patch may have several removal scripts associated with it. These scripts may issue errors to protect the
system from incorrect patch usage. This option should not be used unless directed by an HP Support Engineer.
mount_all_filesystems=true
OptionsChange OptionsMount filesystems in
/etc/fstab or /etc/checklist
By default, SD-UX requires that all filesystems listed in the systems /etc/fstab file are mounted prior to
removal. Setting this option to false removes this restriction.
write_remote_files=false
None (default cannot be changed within GUI)
Prevents removal of files from a target that exists on a remote (NFS) file system. By default, swremove skips
files that would be removed from an NFS file system. When set to true and superuser has write permission on the
remote file system, files are removed from remote systems.
Examples
Remove only the bundle wrapper XSWHWCR11.11 from the system, leaving any contents
present (Note that the trailing period (.) is essential to removing the wrapper only):
swremove XSWHWCR1100.
Remove all contents of the depot, /depots/MyDepot:
swremove -d \* @ /depots/MyDepot
swlist Command
The swlist command provides information on software installed on a system or located in a
depot. More specifically:
See what’s installed on a system.
See what software is in a depot.
Check attributes of software.
Browse the patch documentation.
See what depots are available on remote systems.
Synopsis
swlist [-d|-r] [-i] [-R] [-v] [-a attribute ] [-C session_file ] [-f software_file ] [-l level ]
[-s source ] [-S session_file ] [-t target_file ] [-x option=value ] [-X option_file ]