Sandbox: shove(1317) System Policy: deny(1) file-write-unlink /usr/local/bin/VBoxManage Violation: System Policy: deny(1) file-write-unlink /usr/local/bin/VBoxManage Process: shove [1317] Path: /System/Library/PrivateFrameworks/PackageKit.framework/Resources/shove Load Address: 0x107b99000 Identifier: shove Version: ??? (???) Code Type: x86_64 (Native) Parent Process: installd [473] Responsible: /System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd [473] User ID: 0 Date/Time: 2018-07-11 11:27:01.731 GMT+1 OS Version: Mac OS X 10.13.6 (17G65) Report Version: 8 MetaData: {"process-path":"\/System\/Library\/PrivateFrameworks\/PackageKit.framework\/Versions\/A\/Resources\/shove","errno":1,"hardware":"Mac","summary":"deny(1) file-write-unlink \/usr\/local\/bin\/VBoxManage","profile":"platform","rdev":0,"signing-id":"com.apple.shove","flags":21,"platform_binary":"yes","action":"deny","uid":0,"pid":1317,"vnode-type":"REGULAR-FILE","platform-policy":true,"profile-flags":0,"normalized_target":["usr","local","bin","VBoxManage"],"rootless-flags":524288,"build":"Mac OS X 10.13.6 (17G65)","primary-filter-value":"\/usr\/local\/bin\/VBoxManage","process":"shove","platform-binary":true,"primary-filter":"path","operation":"file-write-unlink","path":"\/usr\/local\/bin\/VBoxManage","target":"\/usr\/local\/bin\/VBoxManage"} Thread 0 (id: 45779): 0 libsystem_kernel.dylib 0x00007fff5c93ac92 __rename + 10 1 shove 0x0000000107b9c3d5 2 shove 0x0000000107b9baf5 3 shove 0x0000000107b9b069 4 shove 0x0000000107b9b069 5 shove 0x0000000107b9b069 6 shove 0x0000000107b9b069 7 shove 0x0000000107b9d746 8 libdyld.dylib 0x00007fff5c7ea015 start + 1 9 shove 0x0000000000000005 Thread 1 (id: 45780): 0 libsystem_kernel.dylib 0x00007fff5c93b28a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff5cb01be9 start_wqthread + 13 Thread 2 (id: 45781): 0 libsystem_kernel.dylib 0x00007fff5c93b28a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff5cb01be9 start_wqthread + 13 Binary Images: 0x107b99000 - 0x107b9efff shove (733) <6693866f-547a-35e8-ad32-1c4cbb3f6902> /System/Library/PrivateFrameworks/PackageKit.framework/Resources/shove 0x7fff5c7e9000 - 0x7fff5c806ff7 libdyld.dylib (551.4) <81bf3a82-5719-3b54-aba9-76c82d932cac> /usr/lib/system/libdyld.dylib 0x7fff5c91e000 - 0x7fff5c944ff7 libsystem_kernel.dylib (4570.71.2) <f22b8d73-69d8-36d7-bf66-7f9ac70c08c2> /usr/lib/system/libsystem_kernel.dylib 0x7fff5caff000 - 0x7fff5cb0afff libsystem_pthread.dylib (301.50.1) <0e51ccba-91f2-34e1-bf2a-feefd3d321e4> /usr/lib/system/libsystem_pthread.dylib
VirtualBox fails to install on Mac 10.13.6
VirtualBox fails to install on Mac 10.13.6
I am trying to install VirtualBox on MAC 10.13.6. (upgrading from an earlier version). The installation fails, installer encountered an error, please contact software manufacturer. It then useful deletes everything so I now have no Virtualbox. I have tried previous versions and the installation fails in the same way. I have copied the error I see in the console. I checked system preferences and there are no KEXT messages waiting for approval.
Last edited by EricR on 19. Jul 2018, 09:37, edited 2 times in total.
Re: VirtualBox fails to install on Mac 10.3.6
The uninstall also fails with the same directory. I have copied the failure part. Anyone able to provide any help?
The uninstallation processes requires administrative privileges
because some of the installed files cannot be removed by a normal
user. You may be prompted for your password now...
Please enter xxxxxxxxx's password:
rm: /usr/local/bin/VirtualBox: Operation not permitted
rm: /usr/local/bin/VBoxManage: Operation not permitted
rm: /usr/local/bin/VBoxVRDP: Operation not permitted
rm: /usr/local/bin/VBoxHeadless: Operation not permitted
rm: /usr/local/bin/vboxwebsrv: Operation not permitted
rm: /usr/local/bin/VBoxBugReport: Operation not permitted
rm: /usr/local/bin/VBoxBalloonCtrl: Operation not permitted
rm: /usr/local/bin/VBoxAutostart: Operation not permitted
rm: /usr/local/bin/VBoxDTrace: Operation not permitted
rm: /usr/local/bin/vbox-img: Operation not permitted
An error occurred durning 'sudo rm', there should be a message above. (rc=1)
The uninstall failed. Please retry.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: VirtualBox fails to install on Mac 10.3.6
Looks like permission problems in that folder, or you have changed user accounts. I'm not an OS X user so I can't tell you how to fix it. Perhaps you can Google for how to fix permission issues in OS X.
-
- Volunteer
- Posts: 1631
- Joined: 25. May 2010, 23:48
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation
Re: VirtualBox fails to install on Mac 10.3.6
Can you post the output from:
ls -laed \
/ \
/Applications \
/Applications/VirtualBox.app \
/Applications/VirtualBox.app/Contents/MacOS/VBoxRT.dylib \
/private \
/private/etc \
/private/etc/sudoers \
/private/tmp
ls -la /usr/local/bin
-Andy.My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Re: VirtualBox fails to install on Mac 10.3.6
ls -la /usr/local/bin
drwxr-xr-x 29 root wheel 928 13 Apr 16:20 .
drwxr-xr-x 10 root wheel 320 13 Apr 16:19 ..
-rwxr-xr-x 1 root wheel 80 26 Feb 16:00 VBoxAutostart
-rwxr-xr-x 1 root wheel 82 26 Feb 16:00 VBoxBalloonCtrl
-rwxr-xr-x 1 root wheel 80 26 Feb 16:00 VBoxBugReport
-rwxr-xr-x 1 root wheel 77 26 Feb 16:00 VBoxDTrace
-rwxr-xr-x 1 root wheel 79 26 Feb 16:00 VBoxHeadless
-rwxr-xr-x 1 root wheel 77 26 Feb 16:00 VBoxManage
-rwxr-xr-x 1 root wheel 79 26 Feb 16:00 VBoxVRDP
-rwxr-xr-x 1 root wheel 77 26 Feb 16:00 VirtualBox
lrwxr-xr-x@ 1 root wheel 11 6 Nov 2015 capinfos -> ./wireshark
lrwxr-xr-x@ 1 root wheel 11 6 Nov 2015 dftest -> ./wireshark
lrwxr-xr-x@ 1 root wheel 11 6 Nov 2015 dumpcap -> ./wireshark
lrwxr-xr-x@ 1 root wheel 11 6 Nov 2015 editcap -> ./wireshark
lrwxr-xr-x@ 1 root wheel 11 6 Nov 2015 mergecap -> ./wireshark
lrwxr-xr-x@ 1 root wheel 68 21 Mar 2016 prl_convert -> /Applications/Parallels Desktop.app/Contents/MacOS/parallels_wrapper
lrwxr-xr-x@ 1 root wheel 68 21 Mar 2016 prl_disk_tool -> /Applications/Parallels Desktop.app/Contents/MacOS/parallels_wrapper
lrwxr-xr-x@ 1 root wheel 68 21 Mar 2016 prl_perf_ctl -> /Applications/Parallels Desktop.app/Contents/MacOS/parallels_wrapper
lrwxr-xr-x@ 1 root wheel 62 21 Mar 2016 prlcore2dmp -> /Applications/Parallels Desktop.app/Contents/MacOS/prlcore2dmp
lrwxr-xr-x@ 1 root wheel 68 21 Mar 2016 prlctl -> /Applications/Parallels Desktop.app/Contents/MacOS/parallels_wrapper
lrwxr-xr-x@ 1 root wheel 58 21 Mar 2016 prlexec -> /Applications/Parallels Desktop.app/Contents/MacOS/prlexec
lrwxr-xr-x@ 1 root wheel 68 21 Mar 2016 prlsrvctl -> /Applications/Parallels Desktop.app/Contents/MacOS/parallels_wrapper
lrwxr-xr-x@ 1 root wheel 11 6 Nov 2015 randpkt -> ./wireshark
lrwxr-xr-x@ 1 root wheel 11 6 Nov 2015 rawshark -> ./wireshark
lrwxr-xr-x@ 1 root wheel 11 6 Nov 2015 text2pcap -> ./wireshark
lrwxr-xr-x@ 1 root wheel 11 6 Nov 2015 tshark -> ./wireshark
-rwxr-xr-x 1 root wheel 75 26 Feb 16:00 vbox-img
-rwxr-xr-x 1 root wheel 77 26 Feb 16:00 vboxwebsrv
-rwxr-xr-x 1 root wheel 833 10 Oct 2017 wireshark
Re: VirtualBox fails to install on Mac 10.3.6
Erics-iMac-2:~ ericrobotham$ ls -laed Applications
Erics-iMac-2:~ ericrobotham$ ls -laed ApplicationsApplications/VirtualBox.appdrwxr-xr-x 4 ericrobotham staff 128 17 Jul 10:09 Applications
Erics-iMac-2:/ ericrobotham$ ls -laed privatels: ApplicationsApplications/VirtualBox.app: No such file or directory *** not as the installer deleted the app this no longer exists***
Erics-iMac-2:/ ericrobotham$ ls -laed private/etcdrwxr-xr-x 6 root wheel 192 13 Apr 16:14 private
Erics-iMac-2:/ ericrobotham$ ls -laed private/etc/sudoersdrwxr-xr-x 129 root wheel 4128 17 Jul 19:21 private/etc
Erics-iMac-2:/ ericrobotham$ ls -laed private/tmp-r--r----- 1 root wheel 2299 31 Jul 2015 private/etc/sudoers
drwxrwxrwt 12 root wheel 384 18 Jul 07:30 private/tmp
-
- Volunteer
- Posts: 1095
- Joined: 20. May 2009, 02:17
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Windows, OSX
- Location: U S of A
Re: VirtualBox fails to install on Mac 10.3.6
and you responded withandyp73 wrote:ls -laed \
/ \
/Applications \
/Applications/VirtualBox.app
not what was requestedEricR wrote: Erics-iMac-2:~ ericrobotham$ ls -laed ApplicationsApplications/VirtualBox.app
Also, 10.3.x I believe was Panther which does not run on VBox
Re: VirtualBox fails to install on Mac 10.13.6
Sorry my mistake 10.13.6 latest release...
There is no Applications/Virtualbox.app, as the installer deletes it when the install fails. I have previously tried to retrieve the original version through timemachine and that fails to run and says it needs to be re-installed ( I didn't copy the error messages then )
There is no Applications/Virtualbox.app, as the installer deletes it when the install fails. I have previously tried to retrieve the original version through timemachine and that fails to run and says it needs to be re-installed ( I didn't copy the error messages then )
-
- Volunteer
- Posts: 1631
- Joined: 25. May 2010, 23:48
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation
Re: VirtualBox fails to install on Mac 10.13.6
Running the commands separately this should have been /Applications. Having not specified the leading / then you have effectively run ~/Applications which is not where VirtualBox gets put. The permissions on the other folders looks to be the same as on my iMac.EricR wrote:Erics-iMac-2:~ ericrobotham$ ls -laed Applications
Have you tried the following instructions that Socratis posts to many a thread about installing/uninstalling on macOS:
-Andy.Socratis wrote: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...
- Download the latest release, or the latest test build (NOT the development snapshot), if you don't already have them.
- Reboot.
- 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.
- 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.
- Reboot.
- 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.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Re: VirtualBox fails to install on Mac 10.13.6
As previously posted the uninstall failsErics-iMac-2:/ ericrobotham$ ls -laed /Applications/VirtualBox.app
ls: /Applications/VirtualBox.app: No such file or directory
The console logs this:Please enter ericrobotham's password:
rm: /usr/local/bin/VirtualBox: Operation not permitted
rm: /usr/local/bin/VBoxManage: Operation not permitted
rm: /usr/local/bin/VBoxVRDP: Operation not permitted
rm: /usr/local/bin/VBoxHeadless: Operation not permitted
rm: /usr/local/bin/vboxwebsrv: Operation not permitted
rm: /usr/local/bin/VBoxBugReport: Operation not permitted
rm: /usr/local/bin/VBoxBalloonCtrl: Operation not permitted
rm: /usr/local/bin/VBoxAutostart: Operation not permitted
rm: /usr/local/bin/VBoxDTrace: Operation not permitted
rm: /usr/local/bin/vbox-img: Operation not permitted
An error occurred durning 'sudo rm', there should be a message above. (rc=1)
The uninstall failed. Please retry.
default 09:59:31.878869 +0100 sudo ericrobotham : TTY=ttys001 ; PWD=/Users/ericrobotham ; USER=root ; COMMAND=/bin/rm -Rf /usr/local/bin/VirtualBox /usr/local/bin/VBoxManage /usr/local/bin/VBoxVRDP /usr/local/bin/VBoxHeadless /usr/local/bin/vboxwebsrv /usr/local/bin/VBoxBugReport /usr/local/bin/VBoxBalloonCtrl /usr/local/bin/VBoxAutostart /usr/local/bin/VBoxDTrace /usr/local/bin/vbox-img
error 09:59:31.894118 +0100 kernel Sandbox: rm(25103) System Policy: deny(1) file-write-unlink /usr/local/bin/VBoxDTrace
error 09:59:31.894165 +0100 kernel Sandbox: rm(25103) System Policy: deny(1) file-write-unlink /usr/local/bin/vbox-img
error 09:59:31.897201 +0100 sandboxd Sandbox: rm(25103) System Policy: deny(1) file-write-unlink /usr/local/bin/VirtualBox
Violation: System Policy: deny(1) file-write-unlink /usr/local/bin/VirtualBox
Process: rm [25103]
Path: /bin/rm
Load Address: 0x102930000
Identifier: rm
Version: ??? (???)
Code Type: x86_64 (Native)
Parent Process: sudo [25102]
Responsible: /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal [21941]
User ID: 0
Date/Time: 2018-07-19 09:59:31.893 GMT+1
OS Version: Mac OS X 10.13.6 (17G65)
Report Version: 8
MetaData: {"process-path":"\/bin\/rm","errno":1,"hardware":"Mac","summary":"deny(1) file-write-unlink \/usr\/local\/bin\/VirtualBox","profile":"platform","rdev":0,"signing-id":"com.apple.rm","flags":21,"platform_binary":"yes","action":"deny","uid":0,"pid":25103,"vnode-type":"REGULAR-FILE","platform-policy":true,"profile-flags":0,"normalized_target":["usr","local","bin","VirtualBox"],"rootless-flags":524288,"build":"Mac OS X 10.13.6 (17G65)","primary-filter-value":"\/usr\/local\/bin\/VirtualBox","process":"rm","platform-binary":true,"primary-filter":"path","operation":"file-write-unlink","path":"\/usr\/local\/bin\/VirtualBox","target":"\/usr\/local\/bin\/VirtualBox"}
Thread 0 (id: 6152789):
0 libsystem_kernel.dylib 0x00007fff5c93b1a2 __unlink + 10
1 rm 0x000000010293168e
2 rm 0x00000001029311f9
3 libdyld.dylib 0x00007fff5c7ea015 start + 1
4 rm 0x000000000000000c
Binary Images:
0x102930000 - 0x102931fff rm (272) <640a2745-cfe3-3176-9461-7d721a6dd3ff> /bin/rm
0x7fff5c7e9000 - 0x7fff5c806ff7 libdyld.dylib (551.4) <81bf3a82-5719-3b54-aba9-76c82d932cac> /usr/lib/system/libdyld.dylib
0x7fff5c91e000 - 0x7fff5c944ff7 libsystem_kernel.dylib (4570.71.2) <f22b8d73-69d8-36d7-bf66-7f9ac70c08c2> /usr/lib/system/libsystem_kernel.dylib
error 09:59:31.898708 +0100 sandboxd Failed to produce a full report for: rm[25103].
error 09:59:31.898735 +0100 sandboxd Sandbox: rm(25103) System Policy: deny(1) file-write-unlink /usr/local/bin/VBoxManage
error 09:59:31.900579 +0100 sandboxd Failed to produce a full report for: rm[25103].
error 09:59:31.900604 +0100 sandboxd Sandbox: rm(25103) System Policy: deny(1) file-write-unlink /usr/local/bin/VBoxVRDP
error 09:59:31.902553 +0100 sandboxd Failed to produce a full report for: rm[25103].
error 09:59:31.902581 +0100 sandboxd Sandbox: rm(25103) System Policy: deny(1) file-write-unlink /usr/local/bin/VBoxHeadless
error 09:59:31.904043 +0100 sandboxd Failed to produce a full report for: rm[25103].
error 09:59:31.904068 +0100 sandboxd Sandbox: rm(25103) System Policy: deny(1) file-write-unlink /usr/local/bin/vboxwebsrv
error 09:59:31.905772 +0100 sandboxd Failed to produce a full report for: rm[25103].
error 09:59:31.905802 +0100 sandboxd Sandbox: rm(25103) System Policy: deny(1) file-write-unlink /usr/local/bin/VBoxBugReport
error 09:59:31.907433 +0100 sandboxd Failed to produce a full report for: rm[25103].
error 09:59:31.907458 +0100 sandboxd Sandbox: rm(25103) System Policy: deny(1) file-write-unlink /usr/local/bin/VBoxBalloonCtrl
error 09:59:31.909047 +0100 sandboxd Failed to produce a full report for: rm[25103].
error 09:59:31.909073 +0100 sandboxd Sandbox: rm(25103) System Policy: deny(1) file-write-unlink /usr/local/bin/VBoxAutostart
-
- Volunteer
- Posts: 1095
- Joined: 20. May 2009, 02:17
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Windows, OSX
- Location: U S of A
Re: VirtualBox fails to install on Mac 10.13.6
you are using the Uninstall tool supplied by VBox on the Installation Media you downloaded previously, yes?
And you aware of User-Approved Kernel Extension Loading
And you aware of User-Approved Kernel Extension Loading
Re: VirtualBox fails to install on Mac 10.13.6
Yes I tried the unistall using the current version media and the last one I loaded in Feb.
Yes I know about auth'ing the kernel extn, that isn't what fails.
Yes I know about auth'ing the kernel extn, that isn't what fails.
-
- Volunteer
- Posts: 1095
- Joined: 20. May 2009, 02:17
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Windows, OSX
- Location: U S of A
Re: VirtualBox fails to install on Mac 10.13.6
IMO, you have hosed your installation of macOS.
Re: VirtualBox fails to install on Mac 10.13.6
I did a reinstall of OSX 10.13.6 the files are still there, the install and uninstall both fail. Everything else except VirtualBox works!
The issue seems to be the /use/local/bin/Vbox files are protected by the system as Root with Group Wheel. Even as SU I cannot chgrp, chmod them. There must be a way round this...
The issue seems to be the /use/local/bin/Vbox files are protected by the system as Root with Group Wheel. Even as SU I cannot chgrp, chmod them. There must be a way round this...
Re: VirtualBox fails to install on Mac 10.13.6
WoooHooo fixed it!
Rebooted into recovery mode, started terminal from utilities in the top bar
cd /volumes/"boot drive name"/usr/local/bin
ls -l to make sure I was in the right place
Removed each of the files individually and rebooted, installed Virtualbox, all happy and working. This seems to have got round the "system integrity" feature in OS X, which is what was stopping the file deletions.
Thanks for the help guys.
Rebooted into recovery mode, started terminal from utilities in the top bar
cd /volumes/"boot drive name"/usr/local/bin
ls -l to make sure I was in the right place
Removed each of the files individually and rebooted, installed Virtualbox, all happy and working. This seems to have got round the "system integrity" feature in OS X, which is what was stopping the file deletions.
Thanks for the help guys.