Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 11i Version 2 Installation and Update Guide: HP Integrity Servers and HP Workstations > Chapter 8 Installing Patches and Applications

Installing OS Patches Required by Individual Applications

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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.

Obtaining Newer HP-UX patches

To obtain newer patches, see the “HP-UX Patching Resources”.

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 Task

  1. From the depot, log in as root and enter the command:

    /usr/sbin/swlist -s /temp/depot_name -l product -a readme patch_name

  2. 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.

  1. To display installed patches, enter the command:

    /usr/sbin/swlist -l patch \*.\*,c=patch

  2. To preview the removal analysis, enter the command:

    /usr/sbin/swremove -p patch_name1 patch_name2 ...

  3. 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 Task

If you are already running an HP-UX 11i v2 system, you can run swinstall interactively and see the contents of the depot online:

  1. On the system, run swinstall interactively:

    /usr/sbin/swinstall

  2. Highlight the patch bundle to select it, or individual patches and press Return/Enter. This opens the patch bundle to the product level.

  3. For any given product (shown as a patch number):

    1. Highlight the product line to select it.

    2. Select Actions -> Show Description of Software. This generates a Software Description Dialogue box.

    3. From the Software Description Dialog box, select Readme. This generates the Readme Viewer Dialog box, through which you can scroll to find the following:

      • Affected filesets

      • 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

  4. 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.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2003 Hewlett-Packard Development Company, L.P.