Page 1 of 3

installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 09:20
by geo68

ModEdit
Effective immediately (2019-05-23 18:00 UTC)
the install of VirtualBox 6.0.8 and 5.2.30
should simply work on macOS 10.14.5

after updating to osx 10.14.5 on my mac mini 2018 , I got the notification to update virtualbox to 6.0.8
it fails and it doesn't give any clue since the "security and privacy doesn't even detect the oracle installation
I had to switch back to 6.0.6 . installation for it is ok.

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 12:04
by BrendenBain
I also get this error for both 6.0.6 and 6.0.8. I was able to install 6.0.4 by completely uninstalling using the uninstall script and starting again.

I have attached the install logs for the three different installs as well as some screenshots of the errors.

I was thinking it might have been related to viewtopic.php?f=8&t=84092. However, I don't think it is. The fact that I was able to downgrade successfully seems to indicate that I have already allowed access to kexts signed by Oracle (provided the key didn't change between 6.0.4 and 6.0.8?). I have also dumped what I have been told is the KextPolicy database. It looks like I have approved the org.virtualbox.kext.VBoxDrv, org.virtualbox.kext.VBoxNetAdp, org.virtualbox.kext.VBoxNetFlt and org.virtualbox.kext.VBoxUSB extensions in the past.

Anyone have an idea what is going on?

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 16:56
by andyp73
There has been some discussion in the thread 6.0.6 Fails to install on 10.14.5 Beta (18F108f) about how kexts now need to be notarized by Apple.
Apple wrote:Important
Beginning in macOS 10.14.5, all new or updated kernel extensions and all software from developers new to distributing with Developer ID must be notarized in order to run. In a future version of macOS, notarization will be required by default for all software.
Having just upgraded my iMac to 10.14.5 I'm just about to see if I can get VirtualBox 6.0.8 to install.

-Andy.

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 18:21
by bock
Confirm that.
I did a fresh Osx Mojave installation.
System started and automatically updated to 10.14.5

After that, NO WAY to finish install of VirtualBox. Checked .8, .6 and .4, Same.

THEN, I re-install mojave, then switched off internet in order to have just 10.14 and NOT the 10.14.5 upgrade.
And, YES, Virtual Box is able to install.
So, problem is last 10.14.5 security update.

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 19:08
by JustinCPorter
Try restarting your workstation in Recovery Mode. Access Terminal and enter the following command:

Code: Select all

spctl kext-consent add VB5E2TV963
Restart your machine and retry the installation of VirtualBox.

JP

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 19:15
by Control4

Code: Select all

spctl kext-consent add VB5E2TV963
spctl: failed to store new configuration.

sudo spctl kext-consent add VB5E2TV963
Password:
spctl: failed to store new configuration.
How should I configure the system to accept a new config?

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 19:24
by Control4
May 16 11:21:53 ControlFours-Mac Installer[891]: Package Authoring Error: <background> has an unsupported MIME type: image/data
May 16 11:21:53 ControlFours-Mac Installer[891]: Package Authoring Error: <background_scaling> has an unsupported MIME type: X-NSObject/NSNumber
May 16 11:21:53 ControlFours-Mac Installer[891]: Package Authoring Error: <background_alignment> has an unsupported MIME type: X-NSObject/NSNumber
May 16 11:21:53 ControlFours-Mac Installer[891]: Package Authoring Error: <layout-direction> has an unsupported MIME type: X-NSObject/NSNumber
May 16 11:22:04 ControlFours-Mac installd[679]: PackageKit: ----- Begin install -----
May 16 11:22:07 ControlFours-Mac installd[679]: 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";
	}
May 16 11:22:07 ControlFours-Mac Installer[891]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
May 16 11:22:07 ControlFours-Mac Installer[891]: Displaying 'Install Failed' UI.
May 16 11:22:07 ControlFours-Mac Installer[891]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 19:57
by JustinCPorter
Control4 wrote:spctl kext-consent add VB5E2TV963
spctl: failed to store new configuration.

sudo spctl kext-consent add VB5E2TV963
Password:
spctl: failed to store new configuration.

How should I configure the system to accept a new config?
Hi Control4,

Did you restart your workstation in Recovery Mode?

JP

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 20:00
by Control4
Yes and reinstalled 10.14.5.

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 20:02
by Control4
I've downgraded to vbox 6.0.4 but it won't start because it is using the extension pack from 6.0.8. Looking to see if I can downgrade as well.

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 20:09
by JustinCPorter
Control4 wrote:Yes and reinstalled 10.14.5.
Very strange.

I experienced this issue across all my workstations once I applied the MacOS 10.14.5 update and then vbox 6.0.8.

Running the 'spctl kext-consent add' command from the terminal in recovery mode worked for me on all machines.

Sorry it didn't help you Control4

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 20:29
by Control4
User error: I misread your instructions.

I reinstalled 10.14.5 from Recovery Mode, rebooted and then tried to issue the command and it failed, as well as the 6.0.8 install.

I didn't issue the command from the Terminal in Recovery Mode. Once I did, I was able to install 6.0.8 just fine.

Thanks for your help.

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 16. May 2019, 23:31
by sinistra

Code: Select all

csrutil disable
allows me to install and run.
But as soon as

Code: Select all

csrutil enable
is run, the problem returns.

Code: Select all

spctl kext-consent add VB5E2TV963
executed in the recovery terminal allows the application to install and run without errors.

Thanks for your help

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 17. May 2019, 22:01
by djblankinship
Does anybody have a feeling for whether Apple acknowledges this as an issue to be addressed in the MacOS? Not sure that I want to disable the System Integrity Protection just to be able to run VirtualBox since I can just use workarounds such as running BrowserStack in the meantime.

Re: installation fails for vbox 6.0.8 on osx 10.14.5

Posted: 17. May 2019, 22:31
by Martin
Read the post above yours again. You don't need to disable SIP.