Sun Java Enterprise System 2005Q4 Installation Guide for UNIX

ProcedureTo Clean up a Partial Installation

Steps
  1. Use the following command to determine whether any packages were partially installed.

    For Solaris OS:


    pkginfo -p

    For Linux:


    rpm -qa |grep sun | xargs rpm -V

    The command output lists any partially installed packages. Using the package names returned, refer to Chapter 5, List of Installable Packages, in Sun Java Enterprise System 2005Q4 Installation Reference to discover what component the packages belong to.

  2. Remove components or packages.

    • On Solaris 9 or 10, use the prodreg tool.

      The prodreg tool manages the package-based components on your host. You can view components and their packages, with full information, including interdependencies. You can use the prodreg tool to safely uninstall components and remove packages. Once you have removed a component with the prodreg tool, you can reinstall.

      • On Solaris 8, use the pkgrm command.

        The pkgrm command requires that you remove components one package at a time. This command does not update the product registry. Depending on what has happened, you can restore the archived product registry file or manually edit the product registry file so that it no longer refers to the removed components.

        To edit the product registry file, open the file /var/sadm/install/productregistry . This XML file describes each component. Each component description opens with a <compid\> tag and closes with a </compid\> tag. Delete the entire entry for the component.

      • On Linux, use the rpm -e command.

        To edit the product registry file, open the file /var/opt/sun/install/productregistry. This XML file describes each component. Each component description starts with a <compid\> tag and ends with a </compid\> tag. Delete the entire entry for the component.

  3. Clean the /opt, /etc/opt and /var/opt directories.

  4. Run the installer again.