2016-11-28 204 views
2

我剛剛獲得了這些新的閃亮MacBook Pros之一,並且正在設置我的開發環境。我從網站下載了Virtualbox 5.1.10並安裝了它,並且出現錯誤「安裝失敗。」在macOS Sierra上安裝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的技巧?

+0

剛剛在macos sierra 10.12.1上安裝的版本5.1.10 r112026(Qt5.6.2),沒有問題 - 更多來自日誌控制檯? –

+0

我也試圖在10.12.1上安裝該版本。幾乎沒有在這臺機器上安裝任何東西,所以我懷疑它與任何東西都是衝突的。這是完整的錯誤日誌 - http://pastebin.com/5KHMwEfJ –

+0

我會這樣做:1.運行卸載也爲virtualbox; 2.重啓 - 如果不起作用3.檢查你的根目錄是否有mach_kernel文件,如果刪除 –

回答

0

在macOS Sierra 10.12.1上安裝Virtualbox 5.1.10 r112026(Qt5.6.2)失敗後,運行卸載腳本並重新啓動,然後下載並重新安裝Virtualbox爲我工作。

我希望這可以幫助別人。