Installing VirtualBox fails

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
caduceus22
Posts: 2
Joined: 28. Apr 2013, 09:15

Installing VirtualBox fails

Post 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.
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: Installing VirtualBox fails

Post by rpmurray »

Did you try rebooting the Mac between uninstalling and reinstalling VirtualBox?
caduceus22
Posts: 2
Joined: 28. Apr 2013, 09:15

Re: Installing VirtualBox fails

Post by caduceus22 »

Yes, I tried that.
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: Installing VirtualBox fails

Post 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.
Post Reply