Sun Studio 12 Installation Reference Guide (English, Japanese, Simplified Chinese)

Fixing a Failed Uninstallation

If the uninstaller quits before all the product files are deleted, rerunning the uninstaller will not delete the remaining product files. The product files have been marked as deleted in the productregistry file, so the uninstaller does not remove the remaining files. To completely remove the product files, use the Solaris Product Registry tool, as described in the following procedure:

ProcedureRemoving the Product Files with the Solaris Product Registry Tool

  1. Become a superuser (root) by typing:


    su
    Password: root-password
    
  2. Open the Solaris Product Registry tool by typing:


    /usr/bin/prodreg &
  3. In the left column of the tool, select all product names containing SS12 or Sun Studio 12 and click the Uninstall button.

    The Uninstall Failed dialog box opens.

  4. Read the message in the box, and then click OK if you want to uninstall the product.

    The Interactive Uninstall dialog box opens.

  5. Follow the instructions in the subsequent dialog boxes until uninstallation is complete.

    Once the uninstallation is complete, you can reinstall the product software using the product installer.

  6. Exit from superuser privileges by typing:


    exit