HP Tru64 UNIX Version 5.1B-2 and Higher Patch Kit Installation Instructions (March 2009)

# dupatch -install -kit /mnt/patch_kit -name Jessica -note \
"Pre-Installation check only on 183.00" -patch 183.00 -precheck_only
3. The following interactive example shows how to install all patches in kit located at
/mnt/patch_kit:
# dupatch -install -kit /mnt/patch_kit -name Jessica \
-note "install all patches" -patch all
4. The following interactive example shows how to identify all patches installed on system:
# dupatch -track -type patch
5. The following interactive example shows how to list all system files updated by installed
patches:
# dupatch -track -type file
6. The following interactive example shows how to remove patch 00183.00 from the system.
Note that the system will automatically be rebooted upon patch deletion because -noauto
was not specified:
# dupatch -delete -patch 183.00 -name Joe \
-note "delete patch 00183.00 from system"
7. The following interactive example shows how to obtain help on specifying patch_id usage:
# dupatch -help patch_id
Environment Variables
The following environment variables affect the execution of dupatch:
MAX_LOGS
Specifies the maximum number of session logs to be retained on the system. The
default number is 25. If, for example, MAX_LOGS is set to 25, the oldest session log
would be named session.log.24 and the current would be named
session.log, with no number affixed.
_ROOT
Overrides the location of the root directory. The default value is /, the system root
directory. This value must be the top-level directory of a file system (or an AdvFS
domain).
PATCHDIR
Specifies the path to the patch tools repository. The default value is
$_ROOT/var/adm/patch.
Files
/var/adm/patch/log/session.log.n This file captures dupatch activities. A separate session
log is written with each dupatch session and log files from
the previous sessions are saved. The order is first in, first
out, with session.log.$MAX_LOGS as the oldest file.
/var/adm/patch/log/Dupatch_load_Date.log
This file specifies the date when the patch tools were loaded
or updated onto the system.
/var/adm/patch/log/baseline.log.n
This file records the screen output from the baselining
session. A separate baseline log is written for each
baselining session and log files from previous sessions are
saved. The order is first in, first out, with
session.log.$MAX_LOGS as the oldest file.
/var/adm/patch/log/event.log.n
This file captures information regarding patch installation
and removal operations. A separate event log is written
each time patches are installed or removed. Log files from
previous sessions are saved. The order is first in, first out,
with session.log.$MAX_LOGS as the oldest file.
/var/adm/patch/backup
The files in this directory are used to restore the system to
its former state if patches are deleted.
/var/adm/patch/doc/OSFPAT*patch_no.abs
Provides brief summary of what a patch fixes.
/var/adm/patch/doc/OSFPAT*patch_no.txt
Provides detailed discussion of what a patch fixes.
dupatch Reference Page 99