Solaris 10 8/07 Installation Guide: Solaris Live Upgrade and Upgrade Planning

ProcedureTo Obtain Information on Packages Installed on a Boot Environment

The follow procedure checks the integrity of the packages installed on the new boot environment.

  1. 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.

  2. 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

    -n BE_name

    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

Example 5–6 Checking the Integrity of Packages on a Boot Environment

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