Page 1 of 2

Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 11. Dec 2014, 10:30
by ShawnX
Error screen:

Image

Console output:

Image

I noticed I couldn't select "Install for me only":

Image

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 12. Dec 2014, 08:39
by ShawnX
I tried VBox 4.2.26, failed too.

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 12. Dec 2014, 14:59
by loukingjr
A few things to try:
1. shutdown your Mac for 10-15 seconds, start your Mac and try and reinstall VirtualBox 4.3.20 again.
2. repair Disk Permissions.
3. create a new user with admin privileges, log in to that user and try to install VirtualBox.
4. if you had a previous version of VirtualBox installed, make sure you use the VirtualBox_Uninstall.tool to uninstall the previous version.
5. if you have an anti-virus program installed try disabling it first.


if none of those work, it is possible your 10.10.1 install is corrupted and you would need to reinstall it.

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 15. Dec 2014, 16:01
by ShawnX
I went through 1-5, no dice.
I wish i don't have to reinstall my OS. Sorry but is there another way that could tell me why *exactly* the installation failed?

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 15. Dec 2014, 16:13
by loukingjr
I don't blame you not wanting to reinstall the OS. I can't really tell you why it won't install. I've been using VB for 5+ years and I've never had it not install. I'm running it on 3 different Macs, two with 10.10.1 and one with 10.10.2. You could open the Console and see what error messages are there for VirtualBox.

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 15. Dec 2014, 17:14
by socratis
Start the installation. Before you proceed, go to Window, Installer Log (⌘-L). From the drop-down choose 'Show All Logs'. Proceed with the installation. When the 'Installation Failed' message appears, switch to the log window and either 1) Select all (⌘-A), copy them, paste them in TextEdit, save it, or 2) Save it. Zip the saved log and attach it here.

BTW, it installed just fine on a 10.10.1 VM that I have running around. My gut feeling is that your permissions are wrong someplace.

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 16. Dec 2014, 16:40
by ShawnX
Thanks socratis,

I've attached the install log.

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 16. Dec 2014, 16:58
by loukingjr
Are you running ClamAV with Sentry? If so, try disabling Sentry then retry the VB install.

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 16. Dec 2014, 17:01
by ShawnX
loukingjr wrote:Are you running ClamAV with Sentry? If so, try disabling Sentry then retry the VB install.
No I don't think so. If I've installed either of them I'd remember.

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 16. Dec 2014, 17:07
by loukingjr
hmmm, the reason I asked is because one of the errors you are getting is related to ClamAV/Sentry. Did you download VirtualBox directly from the VirtualBox.org download page?

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 16. Dec 2014, 17:15
by ShawnX
loukingjr wrote:hmmm, the reason I asked is because one of the errors you are getting is related to ClamAV/Sentry. Did you download VirtualBox directly from the VirtualBox.org download page?
Yes. Can you point out which error excatly?
I don't know if it's relevant, there are things about postflight.

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 16. Dec 2014, 17:31
by loukingjr
Sorry, my fault. It wasn't an error, was just a similar launchd.

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 16. Dec 2014, 18:06
by loukingjr
I don't know why you are getting those postflight errors. You did run Disk Utility and repair disk permissions. Maybe someone else may know. I did a Google search for the errors but didn't find anything useful.

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 16. Dec 2014, 18:15
by ShawnX
Yes I did run disk utilities and fixed disk permissions. Just in case, here are the permission output of my system's /Applications and /tmp folders.

Code: Select all

~ > ls -adl /Applications
drwxrwxr-x+ 99 root  admin   3.3K 12 16 09:35 /Applications/
~ > ls -adl /tmp
lrwxr-xr-x@ 1 root  wheel    11B 10 18 03:19 /tmp@ -> private/tmp

Re: Installing VBox 4.3.20 failed on OSX 10.10.1

Posted: 16. Dec 2014, 21:00
by socratis
OK, a couple of things:
  1. You're using 'zsh' as your shell. At the beginning I thought that this might be the culprit, but I changed my shell to 'zsh' (from the default 'bash') and VirtualBox installed just fine.
  2. You said that you uninstalled VirtualBox before installing it. The installer log says otherwise:
    Installer log wrote:
    Dec 16 09:35:27 Mac Installer[25826]: 	Upgrade: "Oracle VM VirtualBox"
    Dec 16 09:35:27 Mac Installer[25826]: 	Upgrade: "Oracle VM VirtualBox Kernel Extensions"
    Dec 16 09:35:27 Mac Installer[25826]: 		VirtualBox.pkg#VBoxKEXTs.pkg : org.virtualbox.pkg.vboxkexts : 4.3.20
    Dec 16 09:35:27 Mac Installer[25826]: 	Upgrade: "Oracle VM VirtualBox"
    Dec 16 09:35:27 Mac Installer[25826]: 		VirtualBox.pkg#VirtualBox.pkg : org.virtualbox.pkg.virtualbox : 4.3.20
    Dec 16 09:35:27 Mac Installer[25826]: 	Upgrade: "Oracle VM VirtualBox Command Line Utilities"
    Dec 16 09:35:27 Mac Installer[25826]: 		VirtualBox.pkg#VirtualBoxCLI.pkg : org.virtualbox.pkg.virtualboxcli : 4.3.20
    So, please, try to run the 'VirtualBox_Uninstall.tool'. First, make sure that there are no VBox* processes in the Activity monitor (enable 'All processes'). Then open up Terminal (before installing) and type:
    sudo /Volumes/VirtualBox/VirtualBox_Uninstall.tool
    BTW, I did install VirtualBox over an existing VirtualBox just for kicks. It installed fine.
  3. You have installed XQuartz. Not sure if there is a conflict there, but since this is an Apple supported project, I highly doubt it. Just mentioning it for completion.
  4. Please post the output of the command:
    sudo cat /etc/sudoers
  5. Similar problems (with older OSX versions) suggested to enable the root user. I don't believe it personally, but you could try it as a last resort. I do NOT have it enabled, neither on my host or in any of my OSX guests and things work great.
My gut feeling is that #2 is the culprit. I would try to completely uninstall VBox, reboot and start a fresh installation. Otherwise, please mention anything funky that you can think of that you've done to the host to deviate from the typical installation (like zsh and XQuartz).