在macOS Sierra上安装Virtualbox 5.1.10时出错,“安装失败”

时间:2016-11-28 16:26:35

标签: vagrant virtualbox macos-sierra

我刚刚获得了一个新的,闪亮的MacBook Pro,我正在设置我的开发环境。我从网站上下载了Virtualbox 5.1.10并安装了它并收到错误“安装失败。”

查看日志:

Nov 28 10:41:51 Zacks-MBP installd[312]: 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";
    }
Nov 28 10:41:51 Zacks-MBP installd[312]: PackageKit: Running idle tasks
Nov 28 10:41:51 Zacks-MBP installd[312]: PackageKit: Done with sandbox removals
Nov 28 10:41:52 Zacks-MBP Installer[87983]: install:didFailWithError: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”.}
Nov 28 10:41:52 Zacks-MBP installd[312]: PackageKit: Removing client PKInstallDaemonClient pid=87983, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Nov 28 10:41:52 Zacks-MBP Installer[87983]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Nov 28 10:41:52 Zacks-MBP Installer[87983]: IFDInstallController 1EF50 state = 8
Nov 28 10:41:52 Zacks-MBP Installer[87983]: Displaying 'Install Failed' UI.
Nov 28 10:41:52 Zacks-MBP Installer[87983]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

有关Virtualbox服务器的信息非常稀少。我尝试通过brew安装,但也遇到了错误。

是否有人可以分享有关在Sierra上成功安装Virtualbox的技巧?

1 个答案:

答案 0 :(得分:0)

在macOS Sierra 10.12.1上安装Virtualbox 5.1.10 r112026(Qt5.6.2)失败后,运行卸载脚本并重新启动然后下载并重新安装Virtualbox对我有用。

我希望这可以帮助其他人。