Sun Java Enterprise System 2005Q4 Installation Guide for UNIX

ProcedureTo Manually Clean Up Packages

  1. Determine which packages you want to remove.

    Compare the packages on your system with the Java ES packages listed in Chapter 5, List of Installable Packages, in Sun Java Enterprise System 2005Q4 Installation Reference. You can use the Solaris pkginfo or prodreg utility or the Linux rpm command to determine which packages are installed. (See Installation Fails Due to Leftover Files During Uninstallation

  2. Stop all running processes for Java ES components.

    Brief instructions for stopping processes are contained in Chapter 6, Configuring Components After Installation component documentation.

  3. Back up all custom configuration and user data you plan to use in subsequent installations.

    Reviewing Uninstallation Behavior for Java ES Components provides some information on configuration and user data that should be backed up. For more information, refer to the component documentation for each component.

  4. Use the pkgrm or rpm -e command to remove Java ES component packages.

  5. Remove any remaining component directories and their content that you do not plan to use in subsequent installations. If you do plan to use these directories later, move them elsewhere.

  6. Update the product registry file, which is located here:

    On Solaris OS: /var/sadm/install/productregistryOn Linux: /var/opt/sun/install/productregistry

    The uninstaller uses this registry to determine which components are installed on a host. Both the installer and uninstaller update the product registry upon completion of an installation or uninstallation.

    Note –

    If you manually remove packages rather than using the uninstaller, then you must edit the product registry so it correctly reflects the software installed on your system.

  7. Clean up the log files for your system, which are located here:

    Solaris OS: /var/sadm/install/logsLinux: /var/opt/sun/install/logs

    The log files might not correctly reflect the state of your system after you manually remove packages.