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 1.6 Installation and Configuration Guide: Itanium®-based Servers and Workstations > Chapter 4 Verifying System Installation

Changing the State of HP-UX Installed Patches

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The swinstall utility permits the installation of multiple patch bundles with a deferred configuration. Some of these patch bundles may contain superseded patches that do not get configured.

After executing swverify \* on your system, these patches show an "installed" software state in the swagent.log file. This "installed" software state is not treated as a warning or error by swverify.

The "installed" patches may present a problem when the current "applied" patch is removed using swremove. The swremove command does not detect or configure a superseded patch with an "installed" software state.

Start Task

Follow these steps to check the state of patches currently applied to your system:

  1. List the "SD software state" and "patch state" of both superseded patches and active (or applied) patches on your system:

    /usr/sbin/swlist -a state -a patch_state <patch_number>

    For example, the above swlist options may show some differences between an older (superseded) patch and the current (applied) patch on your system.

    To list all patches, use the command:

    /usr/sbin/swlist -a state -a patch_state PH*

    NOTE: Superseded patches left in an "installed" SD state do not cause any problems, but they require an extra swconfig step when they become the current "applied" patch.

  2. HP recommends that you configure a current "applied" patch in the "installed" SD state with the following command:

    /usr/sbin/swconfig <patch_number>

    CAUTION: This problem only exists when an active patch is removed and rolled back to a superseded patch left in an "installed" state. Executing swconfig on a patch in the "superseded" patch state is dangerous; do not do it.
  3. Use the following options to list active products, patches, and states:

    swlist -l fileset -a state -a patch_state

    The previous swlist options will display all active (non-superseded) filesets with their "SD software state" and "patch state" attributes.

    You can change swlist to display superseded patches by adding the following line to the /var/adm/sw/defaults file:

    swlist.show_superseded_patches=true

    or you can use the following command to display superseded patches:

    swlist -l fileset -a state -a patch_State -x \
    swlist.show_superseded_patches=true

  4. TIP: For help with these commands, see the Software Distributor Administration Guide, which is available on the Instant Information CD and on the web:

    http://docs.hp.com/hpux/os/11v1.6

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2002 Hewlett-Packard Development Company, L.P.