Page 1 of 1

Installing VirtualBox fails

Posted: 28. Apr 2013, 09:18
by caduceus22
Hi all,

I have just upgraded from Snow Leopard to Lion. I had an install of VirtualBox on Snow Leopard and deleted the app.

Now I'm trying to reinstall VirtualBox on Lion. I have used the uninstall script provided and when I try to then install VirtualBox anew, I get a failure from the install app.

I found the following message in the Console app:

Code: Select all

4/28/13 12:08:04.806 AM installd: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “VirtualBox.pkg”." UserInfo=0x7feb80d318e0 {NSFilePath=./postflight, NSURL=file://localhost/Volumes/VirtualBox/VirtualBox.pkg#VirtualBox.pkg, PKInstallPackageIdentifier=org.virtualbox.pkg.virtualbox, 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#VirtualBox.pkg";
    PKInstallPackageIdentifier = "org.virtualbox.pkg.virtualbox";
}
Can somebody explain why the install might be failing? Thanks.

Re: Installing VirtualBox fails

Posted: 28. Apr 2013, 17:52
by rpmurray
Did you try rebooting the Mac between uninstalling and reinstalling VirtualBox?

Re: Installing VirtualBox fails

Posted: 28. Apr 2013, 18:22
by caduceus22
Yes, I tried that.

Re: Installing VirtualBox fails

Posted: 29. Apr 2013, 04:40
by rpmurray
My best guess, based on past user reports of this same issue, is that the installer script in running into a problem unloading the old kexts and loading the new.

You may want to try using Disk Utility to Repair Disk Permissions, then try uninstalling and reinstalling VirtualBox. If that doesn't work, then you will need to manually delete the kexts which are located at:

[hard drive]/Library/Extensions/

before installing VirtualBox.