Virtualbox >6 installation fails on Mac OS X 10.13.6

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
mbonner
Posts: 7
Joined: 18. Jul 2019, 22:41

Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by mbonner »

I am getting the following error when 6.04, 6.08, and 6.010 through a downloaded dmg or via brew (6.0.8 only). I am able to install 5.2.32.
[ModEdit: chunks of the installer.log deleted, see the attached complete log]

I have run the un-install scripts prior to installing each. I am a little lost for a solution now, my coworkers with similar systems have been able to install 6.0.8. I have attached the complete log. I am a member of the admin group as well.
I have also run
sudo spctl --master-disable
I have also tried running the installer manually with the package installed via brew, I get a different but similar error there
sudo -E -- env LOGNAME=XXX USER=XXX USERNAME=XXX /usr/sbin/installer -pkg /usr/local/Caskroom/virtualbox/6.0.8,130520/VirtualBox.pkg -target / -verboseR -dumplog
...
installer:PHASE:Running package scripts…
installer:%69.605268
installer:PHASE:Moving items into place…
installer:PHASE:Validating packages…
Jul 18 13:57:18  installer[6312] <Debug>: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=120 "An unexpected error occurred while moving files to the final destination." UserInfo={NSUnderlyingError=0x7febf0100710 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}, NSLocalizedDescription=An unexpected error occurred while moving files to the final destination., arguments=(
	    "-f",
	    "-s",
	    "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B6691B76-9B58-4040-A9F2-B8179076992F.activeSandbox/Root",
	    "/"
	)}
installer:%97.750000
Jul 18 13:57:18  installer[6312] <Error>: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
Attachments
Installer Log 18-Jul-2019.txt
(19.31 KiB) Downloaded 21 times
Last edited by socratis on 19. Jul 2019, 07:54, edited 1 time in total.
Reason: Removed partial log.
mbonner
Posts: 7
Joined: 18. Jul 2019, 22:41

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by mbonner »

It appears to be an issue with Fuse

related: ticket/18377

I have checked the permissions mentioned at the end of 18377, they look good, I am trying to install fuse for mac os x directly now and getting the same error, tried 3.10.0 and 3.7.1,
trying via brew now...
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by socratis »

mbonner wrote:It appears to be an issue with Fuse
Which I can't seem to replicate, on several versions of OSX.

What's different in your host compared to a fresh install? You mentioned "Homebrew", right? Any else system-wide-modification software?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mbonner
Posts: 7
Joined: 18. Jul 2019, 22:41

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by mbonner »

Oh boy, where do I start, for one, my xcode is a bit behind, I have installed a million things via brew, I installed port today to try to build virtual box...
Was 18377 ever resolved?
ls -laed@ /Library /Library/Filesystems /Library/Frameworks /usr/local/lib
drwxr-xr-x+ 70 root  wheel  2240 17 Jun 11:20 /Library
 0: group:everyone deny delete
drwxr-xr-x   4 root  wheel   128 17 Sep  2018 /Library/Filesystems
drwxr-xr-x  10 root  wheel   320 18 Jul 15:49 /Library/Frameworks
drwxrwxr-x  18 root  wheel   576 18 Jul 16:06 /usr/local/lib
It appears this is failing
Jul 18 16:39:03 GC02WT3VBHTD6E installd[1229]: PackageKit: Extracting file://localhost/Volumes/FUSE%20for%20macOS/Extras/FUSE%20for%20macOS%203.10.0.pkg#Core.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/9DE113E5-1AC6-41AB-94B0-F6CCA78509BE.activeSandbox/Root, uid=0)
I do not have /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/9DE113E5-1AC6-41AB-94B0-F6CCA78509BE.activeSandbox
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by socratis »

mbonner wrote:Was 18377 ever resolved?
I don't know, what did you see in the ticket? Was it resolved or not? Don't you think that if it was resolved we'd know it by looking at the ticket? As you can see the OP said that they'd update the ticket ASAP, 5 months ago! We don't have any additional knowledge, other than what's available in public. You see what I see, and I don't tend to withhold information... ;)

It seems that you have an issue with your host. I don't know what exactly. But, if you can't get OSXFUSE installed, then it's not a VirtualBox problem anymore.

I would suggest a clean OSX install. You may be having more serious underlying problems, mainly with your permissions. And Apple has removed the ability to fix the OS's permissions, the good old:
  • 
    sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume / --debug
    
I have a clean 10.13.6, and I have no problems installing VirtualBox or OSXFUSE as a standalone package...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mbonner
Posts: 7
Joined: 18. Jul 2019, 22:41

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by mbonner »

Thanks for your help, I re-installed without erasing the file system and I still have the problem, not too surprising, I have posted to the fuse github, hopefully find some answers there.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by socratis »

mbonner wrote:I have posted to the fuse github, hopefully find some answers there
Issue #606: Failure to install on OS X 10.13.6
Keep us up to date if you can...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
rchaudry
Posts: 1
Joined: 22. Jul 2019, 17:10

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by rchaudry »

Any solution yet for this issue? Seeing this in my logs

Code: Select all

Jul 22 11:02:44 GC02X20U6JG5ME installd[1186]: PackageKit: releasing backupd
Jul 22 11:02:44 GC02X20U6JG5ME installd[1186]: PackageKit: allow user idle system sleep
Jul 22 11:02:44 GC02X20U6JG5ME installd[1186]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=120 "An unexpected error occurred while moving files to the final destination." UserInfo={NSLocalizedDescription=An unexpected error occurred while moving files to the final destination., arguments=(
	    "-f",
	    "-s",
	    "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/76F354C4-F05D-4789-902D-B45ED33BC2E8.activeSandbox/Root",
	    "/"
	), NSUnderlyingError=0x7fe0c1e00630 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}} {
	    NSLocalizedDescription = "An unexpected error occurred while moving files to the final destination.";
	    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=13 \"Permission denied\"";
	    arguments =     (
	        "-f",
	        "-s",
	        "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/76F354C4-F05D-4789-902D-B45ED33BC2E8.activeSandbox/Root",
	        "/"
	    );
	}
Jul 22 11:02:44 GC02X20U6JG5ME installd[1186]: PackageKit: Running idle tasks
Jul 22 11:02:44 GC02X20U6JG5ME Installer[1168]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=120 "An unexpected error occurred while moving files to the final destination." UserInfo={NSUnderlyingError=0x60400005cf50 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}, NSLocalizedDescription=An unexpected error occurred while moving files to the final destination., arguments=(
	    "-f",
	    "-s",
	    "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/76F354C4-F05D-4789-902D-B45ED33BC2E8.activeSandbox/Root",
	    "/"
	)}
Jul 22 11:02:44 GC02X20U6JG5ME installd[1186]: PackageKit: Removing client PKInstallDaemonClient pid=1168, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Jul 22 11:02:44 GC02X20U6JG5ME installd[1186]: PackageKit: Done with sandbox removals
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by socratis »

@rchaudry
You might want to print the following steps, or save them in a test file on your desktop, because there are a couple of reboots, and you don't want to go "hunting" in the forums...
  1. Download the latest release, or the latest test build (NOT the development snapshot), if you don't already have them.
  2. Reboot.
  3. Make sure you're part of the "admin" group. If you are logged in with the primary user account/owner, you are part of the admin group.
  4. Mount the DMG from the previous step. Run "VirtualBox_Uninstall.tool". Make sure there are no error messages. If there are, please post them, exactly as they appear.
  5. Reboot.
  6. Mount the DMG from the previous steps. Double-click the "VirtualBox.pkg". As soon as you start the installation, press Cmd+L to show the log. Select "Show All Logs" from the drop-down menu. Before the last step of the installation (Done), click the "Save" in the log window. ZIP and attach that file.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mbonner
Posts: 7
Joined: 18. Jul 2019, 22:41

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by mbonner »

@rchaudry
I did a clean install of 10.13.6 and I got the same exact problem with osxfuse, I am attempting to build it from source now
no responses to the issue I posted with fuse (linked to above by socratis)
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by socratis »

mbonner wrote:I did a clean install of 10.13.6 and I got the same exact problem with osxfuse
I have an external HD with clean installed 10.11, .12, .13 and .14 (so far) OSX installations, as clean as they come; OSX and VirtualBox only. I've installed/uninstalled various versions of VirtualBox. And since VirtualBox 6.0beta, VirtualBox installs OSXFUSE. Not the slightest problem.

What the heck is going on here? Why does it fail in some 10.13.6 installations and not others? :?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mbonner
Posts: 7
Joined: 18. Jul 2019, 22:41

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by mbonner »

@socratis @rchaudry
I posted an update on the fuse ticket.

The bottom line is my permissions are certainly messed up, how that happened, I am unsure.

In summary (see post for details), I know, even as root, I cannot read files from the fuse package written to /Library and this basically makes fuse unusable (I suspect).
I was able to install virtualbox now but I expect it to fail, testing now, I was able to start it.

And another thing, regarding my clean system, its not really clean, its a work machine and there are a bunch of things installed after the basic installation, I have no control over this.
That being said... fuse and virtualbox are installed and working on my coworkers systems.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by socratis »

mbonner wrote:regarding my clean system, its not really clean, its a work machine and there are a bunch of things installed after the basic installation, I have no control over this.
Can you explain that part? Especially the "I have no control over this"? What does that mean? Are you a part of a managed system of OSX installations? Group/company/enterprise policies enforced at boot/install time?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mbonner
Posts: 7
Joined: 18. Jul 2019, 22:41

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by mbonner »

Yes exactly, I do not know how it is done, but after the install, company specific software is run, it takes about an hour, installs a variety of tools, unsure what else it does, but it certainly means my exact system is not reproducible.
As things stand, virtualmachine is up and running, the fuse files are in the correct location, but some cannot be read. My vm seems to be working. This is good enough for me for now.
My next step would have been to install to the lates mac os or install the os initially installed on the machine and walk through the updates installing fuse along the way.

I would really like to know what is going on here, I have posted to the apple forums here: https://discussions.apple.com/thread/250513560
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Virtualbox >6 installation fails on Mac OS X 10.13.6

Post by socratis »

mbonner wrote:I would really like to know what is going on here
Methinks that you need to have a chat with your IT people, the ones that are enforcing the software installation. Something is not right in their procedure, and no matter how many forums you post into, you'll never get a clear answer unless all the evidence is presented...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply