Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)

7. Merge all products on the mounted CD to the target depot, for example /update/update-depot:
swcopy -s /cdrom \* @ /update/update-depot
8. Unmount the CD from directory /cdrom:
umount /cdrom
9. Insert the HP-UX 11i CD2. Wait for the drive’s busy light to stop blinking.
10. Repeat Steps 6 through 8 using CD2 and the Support Plus CD.
The network depot is now ready for you to use to update your HP-UX 10.20 or 11.0 system to
HP-UX 11i.
4.5.5 Managing Multiple Versions of HP-UX
You can use your HP-UX 11i system to manage depots for HP-UX 11.00 and 10.20, with the
following guidelines:
HP recommends that you do not mix 10.20, 11.00, and 11i software within the same depot.
That is, locate 10.20 software in 10.20 depots, 11.00 software in 11.00 depots, and 11i
software in 11i depots.
You can manage 11.00 depots from 11i without any special considerations—although you
should maintain the segregation of 11.00 and 11i software in separate depots. Although the
formats are similar, 11i software may contain vendor-defined attributes not recognized by
11.00 systems. This results in warnings when 11.00 systems access 11i software.
For 10.20 depots:
To create 10.20 depots from an 11i system, you must use the correct layout_version. For
example:
swcopy -x layout_version=0.8 ...
swpackage -x layout_version=0.8 ...
From then on, your 11i system can maintain the 10.20 depot.
SD-UX will generate warnings if you attempt to put layout_version=1.0 software
(11.00 or 11i format) into a layout_version=0.8 (10.20) depot.
4.5.6 Listing Registered Depots
swlist can display lists of registered depots residing on a host. To do this, use combinations of
the -l depot option.
To list all depots on the local host, type:
swlist -l depot
To list all depots on a remote machine (hostA), type:
swlist -l depot @ hostA
To list all the depots on a system from newest to oldest (by time last modified):
swlist -l depot -a mod_date -a mod_time | sort -rn -k 7,7
TIP: Use the mod_time as a convenient sort field (a single integer), and use mod_date to
include human-readable output. (Place mod_time at the end of the display where it’s less visible.)
4.5.7 Listing the Contents of a Depot (swlist -d)
With swlist you can list all software that is packaged, stored, and ready to be installed.
100 Managing Software Depots