我安装了一些应用程序,一些浏览器,webStorm,vagrant,skype和slack。
尝试安装virtualBox时,我收到一个错误消息,内容如下:
“安装失败。 安装程序遇到导致安装失败的错误。请联系软件制造商以获得帮助。”
当检查安装程序日志文件时,我收到以下错误消息:
Oct 19 16:22:42 newens-mbp installd[519]: 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";
}
我已经在谷歌上搜索了相关内容,并找到了一些解决不同问题的线程。但是到目前为止,没有一个适用于我。
我找到的一些帖子:
https://www.virtualbox.org/ticket/15832
在macOS Sierra上安装Virtualbox 5.1.10出错,提示"安装失败"。
https://apple.stackexchange.com/questions/177868/virtualbox-4-3-26-on-osx-10-10-2-fails-to-install
这些解决方案对我都没有用。
我没有安装vmware,并且尝试搜索.match_kernel文件以进行删除,但无法找到它。我没有在磁盘工具中选择分区的选项,因此无法对其进行修复磁盘权限。
我已安装和卸载了不同版本,并在之间进行了冷启动,以尝试查看是否有所帮助。
感谢任何帮助!