Patch Management User Guide for HP-UX 11.x Systems (5900-3011, March 2013)
PHCO_27752 1.0 audevent(1M) cumulative patch
PHCO_27758 1.0 gsp parser & DIMM labels
PHCO_27780 1.0 HP-UX Patch Tools
PHCO_27781 1.0 su(1) cumulative patch
PHCO_27828 1.0 ups_mond(1M) cumulative patch
...
Note the patch to be copied into the target_depot.
4. Execute the swcopy command in preview mode by including the -p argument:
$ swcopy -p -s remote_system:/depot/patches/11.11 PHCO_27780 \
@ /my_depots/new_directory_depot
The swcopy command generates a log file. The swcopy output contains a swjob command.
5. Use the swjob command to read the log file. This command also verifies that there is sufficient
disk space for the copy.
$ swjob -a log my_sys-0827 @
my_system:/my_depots/new_directory_depot
6. Read the log file.
7. Execute the swcopy command without the preview argument:
$ swcopy -s remote_system:/depot/patches/11.11 PHCO_27780 \
@ /my_depots/new_directory_depot
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 88).
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.)
Creating and adding to a directory depot 73