web-dev-qa-db-fra.com

Virtualbox ne correspond pas à la version des ajouts invités

J'ai installé la virtualbox à partir du site Oracle pas avec mon référentiel ubuntu 14.04.

J'ai déjà téléchargé le additions d'invité de virtualbox qui correspond à mon actuel virtualbox qui est 5. depuis le site Oracle.

Voici les étapes que j'ai suivies pour installer le ajouts d'invités de virtualbox. J'ai fait ces étapes dans la machine Host.

  1. Sudo mnt -o loop ~/Downloads/VBoxGuestAdditions_5.0.0.iso /mnt
  2. cd /mnt
  3. Sudo sh VBoxGuestAdditions_5.0.0.iso

Mais chaque fois que je lance Homestead up, cela montre que la version de virtualbox et virtualbox-guest-additions ne correspond pas.

Ceci est la sortie à chaque fois que je lance Homestead up.

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/Homestead' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 80 => 8000 (adapter 1)
    default: 443 => 44300 (adapter 1)
    default: 3306 => 33060 (adapter 1)
    default: 5432 => 54320 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your Host and reload your VM.
    default: 
    default: Guest Additions Version: 4.3.14
    default: VirtualBox Version: 5.0
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => /home/chanhxc/.composer/vendor/laravel/Homestead
    default: /home/vagrant/Codes => /home/chanhxc/Codes
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

Je me demande quel pourrait être le problème.

4
theUnknown777

Essayez d'ajouter ce plugin depuis le terminal:

Sudo vagrant plugin install vagrant-vbguest

Une fois installé et installé, vous détectez la version entre l'hôte et l'invité. Si la version ne correspond pas, il met à jour la version des ajouts invités en conséquence. J'espère que ça aide. ;)

10
JoenMarz