 |
» |
|
|
 |
If
the operating system requires any new HP-UX patches, you can do
the following: Determine
the list of HP-UX patches prior to cold-install Obtain the newer HP-UX patches Get the HP-UX patch information Remove HP-UX patches, if
necessary Add newer HP-UX patches,
if necessary Keep up to date with the latest critical patches
Determining
the List of Previous HP-UX patches |  |
New
or replacement patches may be required as dependencies for application
software installed on your system. Before removing a patch or a
patch bundle, determine the dependencies required by the installed software.
You can find this information in the release notes for the products
and the readme files for the patches. If necessary, you may have to
remove some installed software from your system. Getting
HP-UX Patch Information |  |
For
information on individual patches in a patch bundle, use swlist(1M) to
list the readme attribute at the product level. Start TaskFrom the depot, log in as root and
enter the command: /usr/sbin/swlist -s /temp/depot_name -l product -a readme patch_name From your system, enter the command: /usr/sbin/swlist -l product -a readme patch_name
Removing
HP-UX Patches |  |
To
remove any patches from your system, you must first determine which
patches are installed. To display installed patches,
enter the command: /usr/sbin/swlist -l patch \*.\*,c=patch To preview the removal analysis, enter the command: /usr/sbin/swremove -p patch_name1 patch_name2 ... You must interpret patch dependencies manually from
the patch documents, that is, the patch_name.txt
files.
 |  |  |  |  | CAUTION: In rare cases,
you may have to remove a patch from your system. Generally, a newer
patch should just be installed over a superseded patch. You should
take extreme caution before ever removing a patch from your system.
Always check for patch dependencies before attempting to remove
any patch. The swremove will not do automatic patch dependency checking for you
like the swinstall command does. |  |  |  |  |
Adding
HP-UX Patches to a Software Depot or System |  |
For help
on adding patches see the Software Distributor Administration Guide,
which is available on the Instant Information CD and on the web: http://docs.hp.com/hpux/os/11v2 General guidelines for patching HP-UX are provided in the
HP-UX Software Transition Kit: http://devresource.hp.com/STK/hpuxpatch.html The following instructions are a general review of installing
patches; see the “HP-UX Patching Resources” for
more information. Start TaskIf you are already running an HP-UX 11i v2 system, you can
run swinstall interactively and see the contents of the depot online: On the system,
run swinstall interactively: /usr/sbin/swinstall Highlight the patch bundle
to select it, or individual patches and press Return/Enter. This opens the patch bundle to the product level. For any given product (shown
as a patch number): Highlight
the product line to select it. Select Actions -> Show Description of Software. This generates a Software Description Dialogue box. From the Software Description
Dialog box, select Readme. This generates the Readme Viewer Dialog box, through
which you can scroll to find the following: Reboot requirement for the
patch Category tags used to create
the patch Symptoms the patch addresses Description of the defect
being fixed Patch files and dependencies Instructions for installing
an individual patch
To find out which patches are in a specific category
tag, use swlist. For example, to list the patches (by product name) for
all patches categorized as hardware enablement, enter the command: /usr/sbin/swlist -d -l product *,c-hardware_enablement \ @ host:deport
 |  |  |  |  | TIP: Each patch comes with installation instructions
and in some cases “special installation” instructions.
For example, when installing patches, it is recommended that certain
SD options be selected so that only patches applicable to the target
system are loaded. |  |  |  |  |
|