System Administration Guide: Basic Administration

How to Automatically Download and Add a Signed Solaris Patch (patchadd)

You can use this procedure when you want to automatically download and add a signed Solaris patch in one step.

This procedure assumes that you have set up the package keystore.

  1. Become superuser or assume an equivalent role.

  2. Identify the HTTP URL for the patch you want to download.

    1. Open a web browser and go to the SunSolve Online web site:


      http://sunsolve.Sun.COM/pub-cgi/show.pl?target=patches/patch-access
      
    2. Enter the patch number you wish to download.

      For example:


      114861-01 Find Patch
    3. Place your mouse over the HTTPS link at the top of the patch page in hover mode.

      The URL for the patch is displayed in the browser status line at the bottom of the screen.

  3. Download and add the signed patch or patches from the SunSolve Online web site.

    For example:


    # patchadd "http://sunsolve.central.sun.com/cgi/patchDownload.pl?target=
    114684&method=hs"
    .
    .
    .
    Downloading patch from ...
    + dwnld_file http://sunsolve.central.sun.com/cgi/patchDownload.pl?target=
    114684&method=hs /tmp/patchadd-dwnld /var/sadm/security  console patchadd
    ...........20%...........40%...........60%...........80%...........100%
    ## Downloading...
    ## Download Complete
    .
    .
    .
    Enter keystore password: xxx
    .
    .
    .