NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Installation on MacOS 10.6 (Snow Leopard) failed

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
jelrikvh



Joined: 24 Jan 2010
Posts: 3

PostPosted: Sun Jan 24, 2010 12:12 pm    Post subject: Installation on MacOS 10.6 (Snow Leopard) failed Reply with quote

Hi,

I tried to install Netbeans 6.8 onto my Macbook Pro running OSX Snow Leopard (10.6) but it keeps telling me "The installation failed. The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance."

Firstly, I tried my desired package, PHP, but I also tried the full package and the CPP packages from the site. After that, I tried to install the 6.7.1, 6.5.1 and nightly build packages (PHP).

Unfortunately, I keep getting the same message (quoted above) over and over again. Other people seem to have no problems in running NB6.8 on their Snow Leopard Mac.

My Java version is the version included in Snow Leopard:
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)

I hope anyone here on the forums or mailinglist can aid me in this problem! Thanks in advance for that.

Regards,
--jelrikvh



Screen shot 2010-01-24 at 1.11.31 PM.png
 Description:
 Filesize:  140.67 KB
 Viewed:  2413 Time(s)

Screen shot 2010-01-24 at 1.11.31 PM.png


Back to top
jelrikvh



Joined: 24 Jan 2010
Posts: 3

PostPosted: Wed Jan 27, 2010 11:24 am    Post subject: Installation on MacOS 10.6 (Snow Leopard) failed Reply with quote

Hi, Thanks for replying.
I tried to figure out which lines seem to be important and I think I found them. I am not aware of this lists rules, so I pasted them below.

It seems there is some kind of authorization issue. I tried to chown the given file by hand after the installation, but as the log below indicates some future actions, I did not expect much of it. It didn't help. Maybe you can tell me how I can influence the installer to use my own username, in stead of the root user I use to authenticate?


1472 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: + echo Changing ownership for /Applications/NetBeans/NetBeans 6.8.app
1473 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: Changing ownership for /Applications/NetBeans/NetBeans 6.8.app
1474 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: + chown -R root:admin '/Applications/NetBeans/NetBeans 6.8.app'
1475 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: chown: admin: Invalid argument
1476 Jan 24 13:00:57 JELRIKVHMBP installd[574]: PackageKit: Install Failed: PKG: post-flight scripts for "org.netbeans.ide.baseide.200912041610"\nError Domain=PKInstallErrorDomain Code= 112 UserInfo=0x100191af0 "An error occurred while running scripts from the package
Back to top
Yulia Novozhilova
Posted via mailing list.





PostPosted: Wed Jan 27, 2010 11:39 am    Post subject: Installation on MacOS 10.6 (Snow Leopard) failed Reply with quote

Hi,

Could you please send me the following information (you can send it to my personal e-mail address).
1) file /etc/group
2) file /etc/passwd
3) in terminal write
Quote:
groups
and send me the output

4) in terminal write
Quote:
sudo groups
and send me the output

5) as far as I understand you managed to do "chown -R root:admin ... " after installation(using your
account, not root), right?

Thanks,
Yulia


Jelrik van Hal wrote:
Quote:
Hi, Thanks for replying.
I tried to figure out which lines seem to be important and I think I found them. I am not aware of this lists rules, so I pasted them below.

It seems there is some kind of authorization issue. I tried to chown the given file by hand after the installation, but as the log below indicates some future actions, I did not expect much of it. It didn't help. Maybe you can tell me how I can influence the installer to use my own username, in stead of the root user I use to authenticate?


1472 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: + echo Changing ownership for /Applications/NetBeans/NetBeans 6.8.app
1473 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: Changing ownership for /Applications/NetBeans/NetBeans 6.8.app
1474 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: + chown -R root:admin '/Applications/NetBeans/NetBeans 6.8.app'
1475 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: chown: admin: Invalid argument
1476 Jan 24 13:00:57 JELRIKVHMBP installd[574]: PackageKit: Install Failed: PKG: post-flight scripts for "org.netbeans.ide.baseide.200912041610"\nError Domain=PKInstallErrorDomain Code= 112 UserInfo=0x100191af0 "An error occurred while running scripts from the package
Back to top
jelrikvh



Joined: 24 Jan 2010
Posts: 3

PostPosted: Wed Jan 27, 2010 11:42 am    Post subject: Reply with quote

Hi, thanks for your reply.

I did not manage to chown -R root:admin but I just tried and it turned out the group "admin" did not exist (anymore). So I created it and added myself (and root) to it. My netbeans installer now works fine.

Thanks for your help!
Back to top
Oddvard Myrnes
Posted via mailing list.





PostPosted: Wed Jan 27, 2010 11:49 am    Post subject: Installation on MacOS 10.6 (Snow Leopard) failed Reply with quote

HEY.....This is not advisable. You send confidentional system info that can
allow malicious break in!

odd

-----Original Message-----
From: address-removed [mailto:address-removed]
Sent: Monday, January 25, 2010 1:56 PM
To: address-removed
Subject: [nbusers] Re: Installation on MacOS 10.6 (Snow Leopard) failed


Hi,

Could you please send me the following information (you can send it to my
personal e-mail address).
1) file /etc/group
2) file /etc/passwd
3) in terminal write
Quote:
groups
and send me the output

4) in terminal write
Quote:
sudo groups
and send me the output

5) as far as I understand you managed to do "chown -R root:admin ... " after
installation(using your
account, not root), right?

Thanks,
Yulia


Jelrik van Hal wrote:
Quote:
Hi, Thanks for replying.
I tried to figure out which lines seem to be important and I think I found
them. I am not aware of this lists rules, so I pasted them below.
Quote:

It seems there is some kind of authorization issue. I tried to chown the
given file by hand after the installation, but as the log below indicates
some future actions, I did not expect much of it. It didn't help. Maybe you
can tell me how I can influence the installer to use my own username, in
stead of the root user I use to authenticate?
Quote:


1472 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: + echo
Changing ownership for /Applications/NetBeans/NetBeans 6.8.app
Quote:
1473 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: Changing
ownership for /Applications/NetBeans/NetBeans 6.8.app
Quote:
1474 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: + chown -R
root:admin '/Applications/NetBeans/NetBeans 6.8.app'
Quote:
1475 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: chown:
admin: Invalid argument
Quote:
1476 Jan 24 13:00:57 JELRIKVHMBP installd[574]: PackageKit: Install
Failed: PKG: post-flight scripts for
"org.netbeans.ide.baseide.200912041610"\nError Domain=PKInstallErrorDomain
Code= 112 UserInfo=0x100191af0 "An error occurred while running scripts
from the package
Back to top
Dmitry Lipin
Posted via mailing list.





PostPosted: Wed Jan 27, 2010 11:59 am    Post subject: Installation on MacOS 10.6 (Snow Leopard) failed Reply with quote

Hi,
Could you please check /var/log/install.log for errors?
Or feel free to file an issue against installer with attaching that file.

Dmitry

On 24.01.2010 15:12, jelrikvh wrote:
Quote:
Hi,

I tried to install Netbeans 6.8 onto my Macbook Pro running OSX Snow Leopard (10.6) but it keeps telling me "The installation failed. The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance."

Firstly, I tried my desired package, PHP, but I also tried the full package and the CPP packages from the site. After that, I tried to install the 6.7.1, 6.5.1 and nightly build packages (PHP).

Unfortunately, I keep getting the same message (quoted above) over and over again. Other people seem to have no problems in running NB6.8 on their Snow Leopard Mac.

My Java version is the version included in Snow Leopard:
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)

I hope anyone here on the forums or mailinglist can aid me in this problem! Thanks in advance for that.

Regards,
--jelrikvh




Attachments:
http://forums.netbeans.org//files/screen_shot_2010_01_24_at_11131_pm_965.png

Back to top
Yulia Novozhilova
Posted via mailing list.





PostPosted: Wed Jan 27, 2010 12:04 pm    Post subject: Installation on MacOS 10.6 (Snow Leopard) failed Reply with quote

That is why I suggest to send it personally. Anyway, you can send the only info you are ready to
share(may be 3,4,5 would be enough).
I'm just trying to understand why "admin: Invalid argument" happened during installation. Either
there is something wrong with root/admin or user uses different shell.

Thanks,
Yulia


Oddvard Myrnes wrote:
Quote:
HEY.....This is not advisable. You send confidentional system info that can
allow malicious break in!

odd

-----Original Message-----
From: address-removed [mailto:address-removed]
Sent: Monday, January 25, 2010 1:56 PM
To: address-removed
Subject: [nbusers] Re: Installation on MacOS 10.6 (Snow Leopard) failed


Hi,

Could you please send me the following information (you can send it to my
personal e-mail address).
1) file /etc/group
2) file /etc/passwd
3) in terminal write
Quote:
groups
and send me the output

4) in terminal write
Quote:
sudo groups
and send me the output

5) as far as I understand you managed to do "chown -R root:admin ... " after
installation(using your
account, not root), right?

Thanks,
Yulia


Jelrik van Hal wrote:
Quote:
Hi, Thanks for replying.
I tried to figure out which lines seem to be important and I think I found
them. I am not aware of this lists rules, so I pasted them below.
Quote:
It seems there is some kind of authorization issue. I tried to chown the
given file by hand after the installation, but as the log below indicates
some future actions, I did not expect much of it. It didn't help. Maybe you
can tell me how I can influence the installer to use my own username, in
stead of the root user I use to authenticate?
Quote:

1472 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: + echo
Changing ownership for /Applications/NetBeans/NetBeans 6.8.app
Quote:
1473 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: Changing
ownership for /Applications/NetBeans/NetBeans 6.8.app
Quote:
1474 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: + chown -R
root:admin '/Applications/NetBeans/NetBeans 6.8.app'
Quote:
1475 Jan 24 13:00:57 JELRIKVHMBP installd[574]: ./postflight: chown:
admin: Invalid argument
Quote:
1476 Jan 24 13:00:57 JELRIKVHMBP installd[574]: PackageKit: Install
Failed: PKG: post-flight scripts for
"org.netbeans.ide.baseide.200912041610"\nError Domain=PKInstallErrorDomain
Code= 112 UserInfo=0x100191af0 "An error occurred while running scripts
from the package
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo