Page 1 of 1

Can't install on OSX 10.10.4

Posted: 6. Aug 2015, 10:55
by Kajoka
Hello there,

i am running into problems with reinstalling virtualbox on my mac.

I also had boot2docker installed removed etc.. I tried reinstalling ran the uninstall scripts etc. but i just can't get the stuff to work. So somehow I screwed my installation paths or something.

The Installationlog says:

Aug 6 10:43:26 Jonathans-MacBook-Pro.local installd[1425]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "Beim Ausführen der Skripts aus dem Paket „VirtualBox.pkg“ ist ein Fehler aufgetreten." UserInfo=0x7fee09e85140 {NSFilePath=./postflight, NSURL=file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg, PKInstallPackageIdentifier=org.virtualbox.pkg.vboxkexts, NSLocalizedDescription=Beim Ausführen der Skripts aus dem Paket „VirtualBox.pkg“ ist ein Fehler aufgetreten.} {
NSFilePath = "./postflight";
NSLocalizedDescription = "Beim Ausf\U00fchren der Skripts aus dem Paket \U201eVirtualBox.pkg\U201c ist ein Fehler aufgetreten.";
NSURL = "file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg";
PKInstallPackageIdentifier = "org.virtualbox.pkg.vboxkexts";
}

Could you please help? I would hate to reinstall osx.

Re: Can't install on OSX 10.10.4

Posted: 11. Aug 2015, 01:37
by TOM HEALY
I've found that the most recent build of VB that installs successfully on my Mac OS X 10.10.4 is 4.3.26.

4.3.30 fails with not installing that kernel. 5.0.0 fails for the same reason. To get back to 4.3.26, I first ran the uninstaller for the more recent version from my admin account (using Terminal), and then installed 4.3.26. I do it this way so I'm sure there isn't anything left over from the later builds that would interfere with 4.3.26.

I'll have to wait for a later build of version 5 to see if the installation succeeds on Yosemite. I don't know enough about installing from tarballs to do it that way. And meanwhile, I'll have to wait for updating my Windows 7 to 10 for VB 5 to install.

I hope this procedure works for you to get a working VB going again.

Viel Glück!

Re: Can't install on OSX 10.10.4

Posted: 17. Aug 2015, 16:16
by Kajoka
Thank you so much! This workaround did the magic!

Re: Can't install on OSX 10.10.4

Posted: 17. Aug 2015, 16:54
by TOM HEALY
VB 5.0.2 also doesn't install on 10.10.4. We'll have to wait for another build.

Re: Can't install on OSX 10.10.4

Posted: 27. Aug 2015, 19:16
by TOM HEALY
Kajoka wrote:Thank you so much! This workaround did the magic!
Here's the solution to installing 5.0.2 that I found in another message series:
Make hidden files visible (I have an Automator Service that does that for me automatically; also a Hide Hidden Files service)
Locate the file mach_kernel at the root of your hard drive; delete it.
Hide hidden files.
Uninstall the previous version of Virtual Box
Install 5.0.2 (or a later version when available).

Apparently that file, which was used in earlier versions of OS X, interferes with installing the VB kernel extensions.