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 216528 - Failed install - fail to run postflight script
Summary: Failed install - fail to run postflight script
Status: RESOLVED INCOMPLETE
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: Macintosh Mac OS X
: P1 normal with 1 vote (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-08 12:34 UTC by thesuperphil
Modified: 2012-08-29 14:34 UTC (History)
2 users (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 thesuperphil 2012-08-08 12:34:49 UTC
I have a MAc running OS X 10.5.8,

I tried to download NB 7.2 C++ IDE.
After appearing to complete the install  an error message was produced.

The following install step failed: run postflight script for netbeans 7.2. Contact the software manufacturer for assistance.

So I am.

I have tried re-downloading and also tried an install of the larger file with the multiple environments. All do the same thing.

Thanks 
Phil
Comment 1 Jiri Rechtacek 2012-08-23 19:00:02 UTC
Phil, could you download and install IDE again. Then attach /var/log/install.log (or just part which is NetBeans specific). It helps to investigate what went wrong. By the way, have you tried install NB7.1.2? Failed too? Thanks
Comment 2 o.melin 2012-08-28 17:50:07 UTC
I have the same prblem. By the message in the log-file it looks like it is incompatible with Java 1.6

The error message is in swedish but nevertheless

"Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: + jar=./apisupport/modules/locale/org-netbeans-modules-apisupport-ant_zh_CN.jar
Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: + '[' -f ./apisupport/modules/locale/org-netbeans-modules-apisupport-ant_zh_CN.jar ']'
Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: 
Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: + /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/unpack200 ./apisupport/modules/locale/org-netbeans-modules-apisupport-ant_zh_CN.jar.pack ./apisupport/modules/locale/org-netbeans-modules-apisupport-ant_zh_CN.jar
Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: 
Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: Corrupted pack file: magic/ver = CAFED00D/160.1 should be CAFED00D/150.7
Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: 
Aug 28 19:42:55: --- last message repeated 1 time ---
Aug 28 19:42:55 Octavian Installer[16025]: Install failed: Följande installationsteg misslyckades: run postflight script for NetBeans 7.2. Kontakta programtillverkaren för assistans.
Aug 28 19:42:55 Octavian Installer[16025]: IFDInstallController 8587C0 state = 7
Aug 28 19:42:55 Octavian Installer[16025]: Displaying 'Install Failed' UI.
Aug 28 19:42:55 Octavian Installer[16025]: 'Install Failed' UI displayed message:'Följande installationsteg misslyckades: run postflight script for NetBeans 7.2. Kontakta programtillverkaren för assistans.'.
"
And the output from 'which java'
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
Comment 3 Jiri Rechtacek 2012-08-29 14:34:41 UTC
Could you run /usr/libexec/java_home on your machine and attach the output? Thanks

(In reply to comment #2)
> I have the same prblem. By the message in the log-file it looks like it is
> incompatible with Java 1.6
> 
> The error message is in swedish but nevertheless
> 
> "Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: +
> jar=./apisupport/modules/locale/org-netbeans-modules-apisupport-ant_zh_CN.jar
> Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: + '[' -f
> ./apisupport/modules/locale/org-netbeans-modules-apisupport-ant_zh_CN.jar ']'
> Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: 
> Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: +
> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/unpack200
> ./apisupport/modules/locale/org-netbeans-modules-apisupport-ant_zh_CN.jar.pack
> ./apisupport/modules/locale/org-netbeans-modules-apisupport-ant_zh_CN.jar
> Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: 
> Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: Corrupted pack file:
> magic/ver = CAFED00D/160.1 should be CAFED00D/150.7
> Aug 28 19:42:54 Octavian runner[16030]: postflight[16071]: 
> Aug 28 19:42:55: --- last message repeated 1 time ---
> Aug 28 19:42:55 Octavian Installer[16025]: Install failed: Följande
> installationsteg misslyckades: run postflight script for NetBeans 7.2. Kontakta
> programtillverkaren för assistans.
> Aug 28 19:42:55 Octavian Installer[16025]: IFDInstallController 8587C0 state =
> 7
> Aug 28 19:42:55 Octavian Installer[16025]: Displaying 'Install Failed' UI.
> Aug 28 19:42:55 Octavian Installer[16025]: 'Install Failed' UI displayed
> message:'Följande installationsteg misslyckades: run postflight script for
> NetBeans 7.2. Kontakta programtillverkaren för assistans.'.
> "
> And the output from 'which java'
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java