Sun Patch Manager 2.0 Administration Guide for the Solaris 8 Operating System

ProcedureHow to Apply Patches to Your System

You can use the smpatch add command to apply one or more downloaded patches to your system.

You can use the local mode version of the smpatch command to apply one or more downloaded patches while your system is in single-user mode or in multiuser mode.


Caution  Caution

The smpatch add command ignores the policy for applying patches and does not resolve dependencies when applying patches.


Steps
  1. Become an appropriately authorized user or assume a role that includes the Software Installation profile or the solaris.admin.patchmgr.* authorization.

    The System Administrator profile includes the appropriate profiles. To create the role and assign the role to a user, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Apply the downloaded patches to your system.

    • To apply all patches listed in a file, type:


      # smpatch add -x idlist=patch-list-file
      
    • To apply particular patches, type:


      # smpatch add -i patch-id -i patch-id ...
      
    • To apply particular patches that have the singleuser property, you must first bring the system to single-user mode. Type:


      # init S
      # smpatch add -i patch-id -i patch-id ...
      
    • To apply the list of patches that could not be applied by the smpatch update command, you must first bring the system to single-user mode. Type:


      # init S
      # smpatch add -x idlist=/var/sadm/spool/disallowed_patch_list
      

Example 54 Applying Patches to Your System