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

[729 byte] By [pritzenth@cas.org] at [2007-11-26 8:59:21]
# 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

akumta at 2007-7-6 23:02:39 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
That solved the problem. Guess "old-school" pkgrm is not the tool to use any more . . .Thanks!--Phil
pritzenth@casorg at 2007-7-6 23:02:39 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 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.

clamage45 at 2007-7-6 23:02:39 > top of Java-index,Development Tools,Solaris and Linux Development Tools...