HP-UX 10 System Patches

Introduction / Philosophy

This page documents the methods for applying patches, what patches have been installed on what systems, and how to back out patches.

HP patches can be downloaded from http://us.external.hp.com/patches/html/ptc_get.html.

The patches are available from the Internet, but tapes of the patches together with covering notes are also held at helpdesk.

Putting HP patches into the HP-UX 10 Depot

HP patches come as "shar" files. These can be "sh"-ed under HP-UX or Solaris, but beware that Solaris reports a word count error on the files, although the line counts, byte counts and checksums match. Once patches have been installed into the HP-UX 10 Depot (which is te16:/diska/depot), machines in ESO can be patched across the network.

To put the patch onto te16, first put the shar file on te16:/tmp, and extract it from there:

te16# cd /tmp
te16# sh PHXX_9999

Run swcopy to correctly insert the file into the online depot on te16:/diska/depot:

te16# swcopy -v -s /tmp/PHXX_9999.depot -x target_directory=/diska/depot

Repeat this for any other incoming patches.

Putting HP Patches onto a Tape

This should be done for all patches and the tape should be stored at Serco helpdesk. The same procedure should be used to generate tapes to be sent elsewhere.

A script exists to do this. The script is a simple wrapper for the swpackage command, but the important feature is that the script has a version number associated with it. This version number is used *primarily* to maintain a version number on the set of patches it comprises, rather than attaching a version number to the script itself.

The script is te16:/usr/server/bin/make_10_patch_tape and it makes tapes which may be used on 10.10 and 10.20 systems. Running the command with no parameters will give a message explaining usage. The current version is 1.4.

$Header: /home/ct/serco/ahuxley/docs/html/serco-faq/new/software/os/RCS/patches.html,v 1.5 1997/08/14 10:02:44 ahuxley Exp ahuxley $