在macOS Sierra上安装Virtualbox 5.1.10时出错,“安装失败". [英] Error installing Virtualbox 5.1.10 on macOS Sierra, "The installation failed"

查看:482
本文介绍了在macOS Sierra上安装Virtualbox 5.1.10时出错,“安装失败".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚获得了这些新的,闪亮的MacBook Pro,并且正在设置我的开发环境.我从网站上下载并安装了Virtualbox 5.1.10,并收到错误消息安装失败".

I just got one of those new, shiny MacBook Pros and I'm setting up my dev environment. I downloaded Virtualbox 5.1.10 from the website and installed it and got an error "The installation failed."

查看日志:

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安装,但也出现了错误.

Information on the Virtualbox servers is pretty sparse. I tried installing via brew but got an error as well.

在Sierra上成功安装Virtualbox时,有没有人可以分享技巧?

Does anyone have tricks they can share about successfully installing Virtualbox on Sierra?

推荐答案

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

After the failed installation attempt of Virtualbox 5.1.10 r112026 (Qt5.6.2) on macOS Sierra 10.12.1, running the uninstall script and restarting and then downloading and reinstalling Virtualbox worked for me.

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

I hope this helps someone else out.

这篇关于在macOS Sierra上安装Virtualbox 5.1.10时出错,“安装失败".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆