85 votes

Virtualbox ne s'installe pas sur High Sierra

Lors de l'installation de Virtualbox via brew cask install virtualbox Je reçois l'erreur suivante :

==> 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>

Lors de l'installation via .dmg le programme d'installation dit juste que l'installation a échoué enter image description here

Dans les deux cas, je me retrouve avec Virtualbox installé. Mais lorsque je démarre ma boîte Vagrant à l'aide de vagrant up voici ce que j'obtiens :

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

Cela peut-il être dû au nouveau système de fichiers de High Sierra ?

209voto

Nipun Goel Points 2186

J'ai eu le même problème. C'est un problème de Mac OS. Allez dans les préférences système/Sécurité et confidentialité. Là, Autoriser Oracle à installer des logiciels. Réessayez d'installer la boîte virtuelle après cela. Cela a fonctionné pour moi. Bonne chance !

EDIT : Lancez l'installation mais arrêtez-vous là où elle vous permet de choisir l'emplacement de l'installation. Ensuite, allez dans Sécurité dans Paramètres et Autorisez-le... puis continuez. - Justin Stanley

enter image description here

Prograide.com

Prograide est une communauté de développeurs qui cherche à élargir la connaissance de la programmation au-delà de l'anglais.
Pour cela nous avons les plus grands doutes résolus en français et vous pouvez aussi poser vos propres questions ou résoudre celles des autres.

Powered by:

X