Sun Studio 12 Installation Reference Guide

What To Do If the productregistry File Is Corrupted

If you attempted to fix the failed installation or uninstallation by using the steps in “Identifying and Fix a Failed Installation" or “Fixing a Failed Uninstallation” and you are still having problems, you need to delete the corrupted productregistry file from your system. The productregistry file is typically corrupted if you attempt to install or uninstall the software using the pkgadd command or pkgrm command.


Note –

Deleting the productregistry file removes the entries for the Sun Studio 12 software and the registry entries for the Solaris Operating System (OS) and other products. Review the steps in “Identifying and Fix a Failed Installation" or “Fixing a Failed Uninstallation” before proceeding with the steps below.


ProcedureDeleting a Corrupted Product Registry File

  1. Become a superuser (root) by typing:


    su
    Password: root-password
    
  2. Go to the productregistry file by typing:


    cd /var/sadm/install
    
  3. Remove the productregistry file by typing:


    rm productregistry
    
  4. Exit from superuser privileges by typing:


    exit