In the following procedure, patches are removed from and added to a new boot environment.
When you are adding and removing packages or patches, Solaris Live Upgrade requires packages or patches that comply with the SVR4 advanced packaging guidelines. While Sun packages conform to these guidelines, Sun cannot guarantee the conformance of packages from third-party vendors. If a package violates these guidelines, the package can cause the package-addition software to fail or can alter the active boot environment.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
To remove a patch or set of patches from a new boot environment, type:
# luupgrade -T -n second_disk patch_name
Indicates to remove the named patch or patches from the boot environment.
Specifies the name of the boot environment where the patch or patches are to be removed.
Specifies the names of the patches to be removed. Separate multiple patch names with spaces.
To add a patch or a set of patches to the new boot environment, type the following command.
# luupgrade -t -n second_disk -s /path-to-patches patch-name
Indicates to add patches to the boot environment.
Specifies the name of the boot environment where the patch is to be added.
Specifies the path to the directory that contains the patches that are to be added.
Specifies the names of the patch or patches that are to be added. Separate multiple patch names with a space.
In this example, patches are removed then added to the second_disk boot environment .
# luupgrade -T -n second_disk 222222-01 # luupgrade -t -n second_disk -s /net/installmachine/export/packages \ 333333-01 4444444-01