System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones

Removing a Patch on a System with Zones Installed

You can use the patchrm system utility described in the patchrm(1M) man page to perform the following task:

ProcedureHow to Remove a Patch From the Global Zone and All Non-Global Zones

You must be the global administrator in the global zone to perform this procedure.

  1. Become superuser, or assume the Primary Administrator role.

    To create the role and assign the role to a user, see Using the Solaris Management Tools With RBAC (Task Map) in System Administration Guide: Basic Administration.

  2. Execute the patchrm command followed by the patch ID.


    global# patchrm patch_id
    

ProcedureHow to Remove a Patch From a Specified Non-Global Zone Only

To remove a patch from a specified non-global zone only, the SUNW_PKG_ALLZONES package parameter for all packages in the patch set must be set to false.

You must be the zone administrator in the non-global zone to perform this procedure.

  1. Log in to the non-global zone as the zone administrator.

  2. While in the non-global zone, my-zone in this procedure, execute the patchrm command followed by the patch ID.


    my-zone# patchrm patch_id