CoolStack install wipes out /usr/local
I just downloaded and installed the coolstack for x64 and the install wiped out my entire /usr/local directory! Everything else that was in there is now gone: tomcat, ant, postgres...
This is the pkg file: CSQamp_x86.pkg
These are the commands I ran to install:
bunzip2 CSQamp_x86.pkg.bz2
pkgadd -d CSQamp_x86.pkg
This must be fixed!!!
[375 byte] By [
augustd123] at [2007-11-26 11:10:16]

# 1
This is extremely puzzling. I tried to reproduce your problem but couldn't. I created several files and directories in /usr/local and then installed the package. All of my original files remained intact. I then removed the package, and still the original files/dirs were intact. Solaris pkgadd/pkgrm will take care to ensure that existing files are not deleted. If you're still running into this problem, please post a list of files you had in /usr/local before doing the pkgadd of CSQamp.
Thanks
Shanti
# 2
Was your /usr/local a symbolic link ? If so, it is likely that pkgadd has deleted the link. Note that your original contents are still preserved, it's only the link that has been removed by pkgadd.
# 3
It turns out that this was the case. My /usr/local/ was actually a symlink to /export/local. The install deleted the symlink and created a directory instead. So, nothing was lost except for maybe a few months off my life from the stress ;)
Nevertheless, you would think that the installer would simply add to the existing /usr/local rather than wiping it out.