Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2488, September 2012)
-S session_file Run the command based on values saved from a previous removal
session, as defined in session_file. See “Session Files”
(page 39).
-t target_file Read a list of target selections from a separate file instead of (or in
addition to) the command line. See “Target Files” (page 37).
-x option=value Sets a command option to value and overrides default values
or a values in options files. See “Changing Command Options”
(page 83).
-X option_file Read session options and behaviors from option_file. See
“Changing Command Options” (page 83).
software_selections The software objects to be removed. See “Software Selections”
(page 35).
target_selections The target of the command. See “Target Selections” (page 37).
Changing Command Options
You can change the behavior of this command by specifying additional command-line options
when you invoke the command (using the -xoption) or by reading predefined values from a file.
The following table shows the defaults and options that apply to swremove.
Table 19 swremove Command Options and Default Values
• loglevel=1
• lookupcache_timeout_minutes=10
• mount_all_filesystems=true
• polling_interval=2
• preview=false
• remove_empty_depot=true
• remove_empty_depot_directory=false
• reuse_short_job_numbers=true
• rpc_binding_info=ncacn_ip_tcp:[2121]
ncadg_ip_udp:[2121]
• rpc_timeout=5
• run_as_superuser=true
• run_scripts=true
• select_local=true
• software=
• software_view=products
• target_directory=
• targets=
• verbose=1
• write_remote_files=false
• admin_directory=/var/adm/sw
• agent_auto_exit=true
• agent_timeout_minutes=10000
• auto_kernel_build=true
• autoreboot=false
• autoremove_job=false
• autoselect_dependents=false
• autoselect_reference_bundles= true
• compress_index=false
• controller_source=
• distribution_target_directory= /var/spool/sw
• enforce_dependencies=true
• enforce_scripts=true
• enforce_selections=false
• force_single_target=false
• installed_software_catalog=products
• job_title=
• loadorder_use_coreqs=true
• log_msgid=0
• logdetail=false
• logfile=/var/adm/sw/swremove.log
For More Information
See Appendix A (page 235) for complete descriptions of each default.
3.3.4 Remove Tasks and Examples
To remove a software product called MYSOFT from the default depot on the local host, type:
swremove -d MYSOFT
3.3 Removing Installed Software (swremove) 83