Installing HP-UX 11.0 and Updating HP-UX 10.x to 11.0 HP 9000 Computers Edition 1

28 Chapter 2
Updating an Existing Operating System and Software
Updating SD-UX Before Installing/Updating Software
1. Copy the swgettools script file and the swagent.Z file (both in the
catalog/SW-GETTOOLS/pfiles directory) from the CD to a location
that your users have FTP access to.
2. Tell the user to do the following:
a. FTP the two files into the /var/tmp directory on the system to be
updated.
b. Use chmod +x to make the /var/tmp/swgettools script
executable.
c. In case swgettools is interrupted, enter the following:
cp swagent.Z swagent.Z.backup
d. Run swgettools and specify the remote depot location with the
-s option (and, if necessary, -t to specify a temporary directory
other than /var/tmp).
Option 2: This option assumes your users will be running swgettools specifying
a source depot on a remote server, and you do not want to grant them
rcp (.rhosts) access as root to the server.
Users can use the SD-UX swcopy command to copy the SW-GETTOOLS
product from a registered remote source depot to a local depot prior to
extracting the files. The remote source depot can be either a CD-ROM or
a disk depot.
To copy the SW-GETTOOLS product from the remote CD-ROM depot
located at swperf:/var/spool/sw to a local depot in /tmp/depot:
swcopy -s swperf:/SD_CDROM SW-GETTOOLS @ /tmp/depot
Then copy the swgettools script and the swagent.Z file to the
/var/tmp directory:
cp /tmp/depot/catalog/SW-GETTOOLS/pfiles/sw* /var/tmp
As in the backup step above, first make a backup copy of swagent.Z.
Then execute the swgettools script specifying the remote depot to
update the SW-GETTOOLS product from the following:
/var/tmp/swgettools -s swperf:/SD_CDROM
NOTE If you will be using a temporary directory other then /var/tmp (such as
/usr/tmp), then cp the swgettools script and the swagent.Z file to
the temporary directory you will be using, and specify its location on the
swgettools command line using the -t option.