As the zone administrator, use the pkgrm utility in a non-global zone to remove a package. The following limitations apply:
pkgrm can only remove packages from the non-global zone.
The package cannot affect any area of the zone that is shared from the global zone.
The package must be set SUNW_PKG_ALLZONES=false.
The following steps are performed by the pkgrm utility:
Dependencies are checked on the non-global zone's package database. If the dependency check fails, then pkgrm fails and the zone administrator is notified. The check fails if either of the following conditions are true.
Any component of the package affects any area of the zone that is shared from the global zone.
The package is set SUNW_PKG_ALLZONES=true.
The package is removed from the zone.
The package database on the zone is updated.