This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149559 - Linux installer cannot install if previous versions are present.
Summary: Linux installer cannot install if previous versions are present.
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: SUN Studio (show other bugs)
Version: 6.x
Hardware: Sun Linux
: P1 blocker (vote)
Assignee: igor_nikiforov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-08 20:27 UTC by akumta
Modified: 2008-11-07 22:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Installation log file (491.52 KB, text/plain)
2008-10-09 21:14 UTC, akumta
Details
rpms installed after SS12 install (2.51 KB, text/plain)
2008-10-09 21:15 UTC, akumta
Details
rpm's installed after ss12 + ssx install (2.74 KB, text/plain)
2008-10-09 21:18 UTC, akumta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description akumta 2008-10-08 20:27:23 UTC
If previous versions of Sun Studio are present on the system, current installer will not allow installation.

This bug has dependancy on CR 6754891 filed in bugster.
See Issue 148526 for details.

In case of previous versions present, this is how it works:
If Sun Studio 11 is installed in /opt/sun. The Sun Studio 12 installer does not allow installation into /opt/sun 
This is the message:
Installation directory contains an earlier version of Sun Studio. Cannot install at this directory.

Sun Studio 12 however can be installed in a directory other than /opt/sun.
Comment 1 igor_nikiforov 2008-10-09 13:37:13 UTC
The bug is fixed. Now it should work exactly as described.
Comment 2 akumta 2008-10-09 21:11:59 UTC
Looks like the current installer, silently uninstalls the previous version while current version is being installed.
This isn't acceptable.
 I will attach 3 files. 
One showing the rpm's installed with SS12 installer.
One showing the rpms installed with current installer. (This shows that some rpm's installed with SS12 have been removed).
The log file during current installation.

Comment 3 akumta 2008-10-09 21:14:12 UTC
Created attachment 71505 [details]
Installation log file
Comment 4 akumta 2008-10-09 21:15:13 UTC
Created attachment 71506 [details]
rpms installed after SS12 install
Comment 5 akumta 2008-10-09 21:18:26 UTC
Created attachment 71507 [details]
rpm's installed after ss12 + ssx install
Comment 6 igor_nikiforov 2008-10-10 14:21:40 UTC
Now RPM uses -U option only if the same Sun Studio version is detected.
Comment 7 akumta 2008-11-03 18:48:12 UTC
Although I can now install SSX(in /opt/sun/ssx) after a Sun Studio 12 install(in /opt/sun), the uninstall fails.
The message I get is the following:

It seems that the installation of C++ is corrupted.
The validation procedure issued the following warning:

The packages sun-tlbn7-2008.11 were removed.The component should be reinstalled.

Would you like to mark this product as not installed and continue?
If you click No the installer will exit.

Note that these products that depend on C++ Compiler will also be disabled.

Comment 8 igor_nikiforov 2008-11-05 15:14:12 UTC
This problem appears only if packages with equal names are presented in the system. Now it fixed.
Comment 9 akumta 2008-11-07 22:01:03 UTC
Verified with 11/07 build(RC5Final)