HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)

s
swremove(1M) swremove(1M)
(Hewlett-Packard Company)
status or controller/agent log files) cannot be queried with
swjob.
autoselect_dependents=false
Automatically selects all software that depends on the specified software. When set to
true, and any software that other software depends on is selected for removal,
swremove automatically selects that other software. If set to
false, automatic selec-
tions are not made to resolve requisites.
autoselect_reference_bundles=true
If true, bundles that have the is_sticky attribute set to
true will be automatically
removed when the last of its contents is removed. If
false, the sticky bundles will not be
automatically removed.
compress_index=false
Determines whether SD commands create compressed INDEX and INFO catalog files when
writing to target depots or roots. The default of
false does not create compressed files.
When set to
true, SD creates compressed and uncompressed INDEX and INFO files. The
compressed files are named INDEX.gz and INFO.gz, and reside in the same directories as
the uncompressed files.
Compressed files can enhance performance on slower networks, although they may
increase disk space usage due to a larger Installed Products Database and depot catalog.
SD controllers and target agents for HP-UX 11.01 and higher automatically load the
compressed INDEX and INFO files from the source agent when:
The source agent supports this feature.
INDEX.gz or INFO.gz exist on the source depot.
INDEX.gz or INFO.gz are not older than the corresponding uncompressed INDEX or
INFO files.
The uncompressed INDEX or INFO file is accessed by the source agent if any problem
occurs when accessing, transferring, or uncompressing the INDEX.gz or INFO.gz file.
controller_source=
Specifies the location of a depot for the controller to access to resolve selections. Setting this
option can reduce network traffic between the controller and the target. Use the target
selection syntax to specify the location:
[host][:][path]
This option has no effect on which sources the target uses and is ignored when used with
the Interactive User Interface.
distribution_target_directory=/var/spool/sw
Defines the default location of the target depot.
enforce_dependencies=true
Requires that all dependencies specified by the software_selections be resolved at the
target_selections.For
swremove, if a selected fileset has dependents (i.e. other software
depends on the fileset) and they are not selected, do not remove the selected filesets. If set
to
false, dependencies will still be checked, but not enforced.
enforce_scripts=true
Controls the handling of errors generated by scripts. If true, and a script returns an
error, the swremove operation halts. An error message appears reporting that the execu-
tion phase failed. If false, all script errors are treated as warnings, and swremove
attempts to continue operation. A warning message appears reporting that the execution
succeeded. The message wording identifies whether the failure occurred in the
configure/unconfigure, checkremove, preremove, or postremove phases.
force_single_target=false
This option applies only to the Interactive User Interface when no SD-OV license is in effect
on a system that is a diskless server. It causes swremove to run in a single target mode,
even though a diskless server normally causes swremove to run in multi-target mode.
installed_software_catalog=products
Defines the directory path where the Installed Products Database (IPD) is stored. This
information describes installed software. When set to an absolute path, this option defines
HP-UX 11i Version 1: September 2005 6 Hewlett-Packard Company Section 1M987