Virtual Box不在High Sierra上安装

时间:2017-10-03 13:48:10

标签: macos vagrant virtualbox macos-high-sierra

通过==> Satisfying dependencies ==> Downloading http://download.virtualbox.org/virtualbox/5.1.28/VirtualBox-5.1.28-117968-OSX.dmg Already downloaded: /Users/romanderlemenko/Library/Caches/Homebrew/Cask/virtualbox--5.1.28-117968.dmg ==> Verifying checksum for Cask virtualbox ==> Installing Cask virtualbox ==> Running installer for virtualbox; your password may be necessary. ==> Package installers may write to any location; options such as --appdir are ignored. Password: ==> installer: Package name is Oracle VM VirtualBox ==> installer: Installing at base path / ==> installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.) Error: Command failed to execute! ==> Failed command: /usr/bin/sudo -E -- /usr/sbin/installer -pkg /usr/local/Caskroom/virtualbox/5.1.28-117968/VirtualBox.pkg -target / ==> Standard Output of failed command: installer: Package name is Oracle VM VirtualBox installer: Installing at base path / installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.) ==> Standard Error of failed command: ==> Exit status of failed command: #<Process::Status: pid 3578 exit 1> 安装Virtualbox时出现以下错误:

.dmg

通过vagrant up软件包安装时,安装程​​序只是说安装失败了 enter image description here

在这两种情况下,我最终安装了Virtualbox。但是当我使用There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "dda26a7b-cc0e-440c-b0db-9b3d3bac5925", "--type", "headless"] Stderr: VBoxManage: error: The virtual machine 'rooxie-vm' has terminated unexpectedly during startup with exit code 1 (0x1) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine 启动我的Vagrant框时,我得到的是:

buildscript {
    repositories {
        mavenLocal()
        maven {
            url "https://www.acme.com/nexus/content/repositories/com.acme.snapshots/"
            credentials {
                username "admin"
                password "admin123"
            }
        }
        maven {
            url "https://plugins.gradle.org/m2/"
        }

这可能是因为High Sierra的新文件系统吗?

1 个答案:

答案 0 :(得分:207)

我遇到了同样的问题。这是一个Mac OS问题。 转到系统偏好/安全&amp;隐私。允许Oracle安装软件。 之后重试安装虚拟框。 它对我有用。 祝你好运!

  

编辑:开始安装但停在允许您选择安装位置的位置。然后转到设置中的安全性并允许它...然后继续。 - 贾斯汀斯坦利

enter image description here