System Administration Guide: Basic Administration

ProcedureHow to Download and Apply a Patch

Use this procedure to download an unsigned Solaris patch and then apply it to your system.

If you want to apply signed patches, you must first set up the package keystore. For more information, go to http://download.oracle.com/docs/cd/E17476_01/javase/1.4.2/docs/tooldocs/solaris/keytool.html.

  1. Gain access to the system in one of the following ways:

    • Log in to the system where you want to apply the patch.

    • Download the patch and use the ftp command to copy the patch to the target system.

  2. Start a web browser and go to the SunSolve Online Patch Portal at http://sunsolve.Sun.COM.

  3. Determine whether to download a specific patch or a patch cluster, then do one of the following:

    • Type the patch number (patch-id) in the Find Patch search field, then click Find Patch.

      Entering patch-id downloads the latest patch revision.

      If this patch is freely available, the patch README appears. If this patch is not freely available, an ACCESS DENIED message appears.

      Note that patch numbers for SPARC based and x86 based systems are different. The patch IDs are listed in the patch README. Ensure that you apply the patch that matches your system architecture.

    • Select the Recommended Patch Cluster that matches the Oracle Solaris release that is running on the system that you want to patch.

  4. Download the patch by following these instructions:

    • To download a copy of the signed patch, click the Download Signed Patch (n bytes) button.

    • To download an unsigned patch, click the Download Patch ( n bytes) button.

    When the patch or patches are successfully downloaded, close the web browser.

  5. Change to the directory that contains the downloaded patch.

  6. Become superuser or assume an equivalent role.

  7. (Unsigned patch) If you downloaded an unsigned patch, unzip the patch.


    # unzip patch-id
    
  8. Apply the signed or unsigned patch.

    For example:


    # patchadd /tmp/111879-01
    
    • If you downloaded a signed patch, apply it.

      For example:


      # patchadd /tmp/111879-01.jar
      
    • If you downloaded an unsigned patch, apply it.

      For example:


      # patchadd /tmp/111879-01
      
  9. Verify that the patch has been successfully applied.

    For example:


    # patchadd -p | grep 111879
    Patch: 111879-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWwsr