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 187483 - Installer says GF will be "upgraded" instead of "installed"
Summary: Installer says GF will be "upgraded" instead of "installed"
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Mac Native (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-11 13:45 UTC by Michael Nazarov
Modified: 2010-07-09 08:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nazarov 2010-06-11 13:45:55 UTC
During installation on MacOSX customization dialog provides some details
about components. With fcs builds it says "install" for all components
except GlassFish which has "upgrade" mark like it already installed even
whole installation was removed before.
Comment 1 Yulia Novozhilova 2010-06-15 09:47:17 UTC
It looks like previous installation of glassfish was interrupted and some installer information(glassfish-v3*.plist and glassfish-v3*.bom files) is left in /private/var/db/receipts/ folder.
Please, remove this info and try to install again. I'll will also check.
Comment 2 Michael Nazarov 2010-06-15 11:23:27 UTC
There is no /private/var/db/receipts/ on test machine.
But there is /Library/Receipts/ and looks like cleaning of this directory helps.
Comment 3 Yulia Novozhilova 2010-06-16 13:23:06 UTC
Well, I've spent more time looking at the issue and realized it is expected behavior for Snow Leopard (10.6.*). The native installer for Snow Leopard was improved so now we can't delete receipt information in pre/postflight scripts. 

At the same time this issue shouldn't be reproducible on Leopard (10.5.*).   Michael, could you please check installer on Leopard and if everything is ok, close the issue.
Comment 4 Michael Nazarov 2010-06-16 13:56:50 UTC
It's reproducible on 10.5.6 with NB 6.9 installer.
Comment 5 Yulia Novozhilova 2010-06-16 16:10:03 UTC
Fixed in trunk: http://hg.netbeans.org/main/rev/314935586082

Another side effect of this bug is that Glassfish is not available in servers.
workaround: add server manually
Comment 6 rbalada 2010-06-17 12:51:14 UTC
saw a changeset in release691 #fa898c320520
Comment 7 rbalada 2010-06-17 14:16:18 UTC
Please mark bugs VERIFIED-FIXED before transplanting to release691.

Please verify this bugfix asap.

Thanks,
-R
Comment 8 Jaromir Uhrik 2010-07-09 08:44:09 UTC
Verified with the following build:
netbeans-6.9.1-dev-201007082301-macosx.dmg