I've had a horrible time time installing either 5.1.22 or 5.0.38 on a new macbook pro.
I've resolved it, but wanted to share my experience, since it's been a bit painful to debug.
Installing (either version, using the dmg downloads) always ends with a failure, install.log always contains the failure message on loading VBoxUSB.kext:
Code: Select all
May 13 10:56:12 tnorris-macOS installd[637]: PackageKit: Executing script "./postflight" in /private/tmp/PKInstallSandbox.Xn8SB0/Scripts/org.virtualbox.pkg.vboxkexts.CoySf2
May 13 10:56:12 tnorris-macOS installd[637]: ./postflight: /Library/Application Support/VirtualBox/VBoxUSB.kext failed to load - (libkern/kext) not loadable (reason unspecified); check the system/kernel logs for errors or try kextutil(8).
May 13 10:56:12 tnorris-macOS install_monitor[2736]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
May 13 10:56:13 tnorris-macOS installd[637]: PackageKit: releasing backupd
May 13 10:56:13 tnorris-macOS installd[637]: PackageKit: allow user idle system sleep
May 13 10:56:13 tnorris-macOS installd[637]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “VirtualBox.pkg”." UserInfo={NSFilePath=./postflight, NSURL=file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg, PKInstallPackageIdentifier=org.virtualbox.pkg.vboxkexts, NSLocalizedDescription=An error occurred while running scripts from the package “VirtualBox.pkg”.} {
NSFilePath = "./postflight";
NSLocalizedDescription = "An error occurred while running scripts from the package \U201cVirtualBox.pkg\U201d.";
NSURL = "file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg";
PKInstallPackageIdentifier = "org.virtualbox.pkg.vboxkexts";
}
Code: Select all
$ sudo kextutil -d "/Library/Application Support/VirtualBox/VBoxDRV.kext" "/Library/Application Support/VirtualBox/VBoxUSB.kext"
Password:
Warnings:
Dependency lacks appropriate value for OSBundleRequired and may not be availalble during early boot:
org.virtualbox.kext.VBoxDrv - OSBundleRequired not set
Untrusted kexts are not allowed
ERROR: invalid signature for com.apple.iokit.IOUSBFamily, will not load
Signature failure in dependencies for kext load request.
Code: Select all
# ConsoleMessage "Loading ${VBOXUSB}.kext"
# if ! kextload -d "/Library/Application Support/VirtualBox/${VBOXDRV}.kext" "/Library/Application Support/VirtualBox/${VBOXUSB}.kext"; then
# ConsoleMessage "Error: Failed to load /Library/Application Support/VirtualBox/${VBOXUSB}.kext"
# VBOX_RC=1
# fi
Can anyone confirm seeing this issue? Is there a better workaround?
Thanks