8.Show the registered depots on the local system again: $ swlist -l depot

#Initializing...

#Target "my_system" has the following depot(s): /var/spool/sw

/my_depots/new_directory_depot

The newly created depot is listed.

9.Show the contents of the new depot:

$ swlist -l product -d @ /my_depots/new_directory_depot

#Initializing...

#Contacting target "my_system"...

#

#Target: my_system:/my_depots/new_directory_depot

PHCO_27780 1.0 HP-UX Patch Tools

Note that PHCO_27780 is present.

Advanced topic: HP-UX Software Assistant

You can use the HP-UX Software Assistant (SWA) tool to analyze a system then create a depot. For information, see Chapter 8: “Using HP-UX Software Assistant for patch management” (page 85).

Copying products with patch dependencies to depots

Add new or updated applications (including products with patch dependencies) to new or existing directory depots by using swcopy with the enforce_dependencies=false and autoselect_patches=false options. Using the default options could select extra patches from different patch bundles on HP-UX media. Applications with patch dependencies should only require patches from the FEATURE11i bundle on the same HP-UX media. Use swcopy with the same options for copying the FEATURE11i bundle to your network depot. (Applications on the Software Pack media do not have required patches in the FEATURE11i bundle, so in this case, use the default options to copy the applications.)

Registering and unregistering directory depots

You must register a directory depot if you want its contents to be available for remote access by SD-UX commands across a network. Conversely, you might have to restrict remote access to a specific directory depot.

For example, you might be in the process of creating a directory depot to use for patch installation on production systems. Prior to completing testing on the depot, you do not want users to perform any installations from this depot; therefore, you need to restrict access to the depot. In this case, you simply unregister the depot to prevent remote access. You can also register or unregister tape depots, but you cannot use a registered tape depot as a software source for remote systems.

Registering and unregistering directory depots

71