【发布时间】:2022-01-04 05:11:16
【问题描述】:
在我的 macbook 上安装 virtualbox 6.0.24 时,macOS Monterey,版本 12.1 (21C52)
我收到了错误
The installer encountered an error that caused the installation to fail
关注post,我得到了日志:
Jan 4 16:05:02 192-168-1-100 Installer[3349]: Could not load resource readme: (null)
Jan 4 16:05:02 192-168-1-100 Installer[3349]: Could not load resource license: (null)
Jan 4 16:05:14 192-168-1-100 installd[1220]: PackageKit: ----- Begin install -----
Jan 4 16:05:18 192-168-1-100 installd[1220]: PackageKit: PKInformSystemPolicyInstallOperation failed with error:An error occurred while registering installation with Gatekeeper.
Jan 4 16:05:21 192-168-1-100 installd[1220]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “VirtualBox.pkg”." UserInfo={NSFilePath=./postflight, NSURL=file:///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:///Volumes/VirtualBox/VirtualBox.pkg#VBoxKEXTs.pkg";
PKInstallPackageIdentifier = "org.virtualbox.pkg.vboxkexts";
}
Jan 4 16:05:22 192-168-1-100 Installer[3349]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Jan 4 16:05:22 192-168-1-100 Installer[3349]: Displaying 'Install Failed' UI.
Jan 4 16:05:22 192-168-1-100 Installer[3349]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
我也关注这个post添加Oracle开发者
spctl kext-consent disable
spctl kext-consent add VB5E2TV963
spctl kext-consent enable
reboot
我也尝试禁用网守
sudo spctl --master-disable
但没有解决办法。
【问题讨论】:
标签: vagrant virtualbox macos-monterey