The follow procedure checks the integrity of the packages installed on the new 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 check the integrity of the newly installed packages on the new boot environment, type:
# luupgrade -C -n second_disk -O "-v" package-name |
Indicates to run the pkgchk command on the named packages
Specifies the name of the boot environment where the check is to be performed
Passes the options directly to the pkgchk command
Specifies the names of the packages to be checked. Separate multiple package names with spaces. If package names are omitted, the check is done on all packages in the specified boot environment.
Specifies to run the command in verbose mode
In this example, the packages SUNWabc, SUNWdef, and SUNWghi are checked to make sure they were installed properly and are not damaged.
# luupgrade -C -n second_disk SUNWabc SUNWdef SUNWghi |