Software Distributor Administrator Guide (September 2010)
Table 3-9 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 303) 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
To preview the remove of the C and Pascal products installed at the local host:
swremove -p cc pascal
To remove a particular version of HP Omniback:
swremove Omniback,l=/opt/Omniback_v2.0
To remove the entire contents of a local depot:
swremove -d * @ /var/spool/sw
3.3.4.1 Removing Bundles
Removing a bundle does not always remove all filesets in that bundle. Because of
SD-UX’s dependency management features, a fileset that is required by another bundle
will not be removed. For example, if the bundles Pascal and FORTRAN both use the
110 Managing Installed Software