Studio 11 install over a Forte 7 installation and removal
I have a Solaris 9 (09/05 Generic_118558-21) system that we use to install/test packages before they go out to our general population. This system did have a Forte7 package on it.
I used pkginfo/pkgrm to remove all instances of Forte7 (except for a couple instances used by Gnome (SUNWlibms SUNWlmsx)). Studio11 still refuses to install in /opt:
"A previous version of Forte Developer 7 Compilers has been detected at /opt.
Sun Studio 11 cannot be installed into this directory."
The only place I can still see Forte 7 is in the file:
/var/sadm/install/productregistry
How do I install Studio11 on this system?
Thank you.
--Phil Ritzenthaler
Chemical Abstracts Service
# 1
> I used pkginfo/pkgrm to remove all instances of
> Forte7 (except for a couple instances used by Gnome
> (SUNWlibms SUNWlmsx)). Studio11 still refuses to
> install in /opt:
> "A previous version of Forte Developer 7 Compilers
> has been detected at /opt.
> Sun Studio 11 cannot be installed into this
> directory."
>
> The only place I can still see Forte 7 is in the
> file:
>/var/sadm/install/productregistry
Removing the packages manually (via pkgrm) has probably resulted in corrupting the productregistry file.
Please take a look at the Product Registry Problems section in the installation guide
at
http://docs.sun.com/source/816-7874/troubleshooting.html
# 3
The problem with pkgrm for this purpose (apart from product registry issues) is in identifying exactly which packages need to be uninstalled. A mistake can cause problems that are hard to find and fix.
Installing the product creates an uninstall script. If you simply run the script, the exact set of packages you installed will be uninstalled, and the product registry witll be correct.