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

HP-UX Handbook Rev 13.00 Page 17 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
$ swinstall -s /tmp/temporary_depot/depot -x autoreboot=true \
-x patch_match_target=true x patch_save_files=false
Only use the false option if you will never remove a patch under any circumstances
Synopsis
swremove [XToolkit Options] [-d|-r] [-i] [-p] [-v] [-C session_file] [-f software_file]
[-J jobid] [-Q date] [-S session_file] [-t target_file] [-x option=value] [-X option_file]
[software_selections] [@ target_selections]
Command Line Arguments
-i
Use an interactive user interface. If the environment variable DISPLAY is set to a
valid X windows display, a graphical user interface is invoked. Otherwise a terminal
user interface (TUI) designed for use on ASCII terminals is invoked. The GUI starts
by default if you enter swremove without any software_selections.
-d
Operate on a depot rather than installed software.
-p
Previews the remove operation without performing the actual removal. Preview mode
is not enabled by default.
-v
Requests verbose mode. This option affects only standard output and not the logfiles.
Verbose mode is enabled by default.
-x option=value
Sets the specified command option to the value given, overriding any other values for
that option. Patch related command options are specified below.
s/w_selections
One or more software specifications.
target
The depot from which software is to be removed. If not specified, the target is
assumed to be the system itself.
The following options have the most relevancy to patching. Where appropriate, default values
are shown. For the full set of available options, consult the swremove(1m) man page or refer to
the Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3.
Options
option=default value
Menu Path in Interactive Interface
Description
autoselect_reference_bundles=true
None
If true, bundles that have the is_reference attribute set to true will be automatically removed when the last
of its contents is removed. If false, the bundles will not be automatically removed.
enforce_dependencies=true
OptionsChange OptionsEnforce dependency analysis
errors in agent