vagrant up: Got different reports about installed GuestAdditions version

前端 未结 4 741
误落风尘
误落风尘 2021-02-05 05:08

When doing a vagrant up I get:

Got different reports about installed GuestAdditions version:
Virtualbox on your host claims:   5.0.28
VBoxService in         


        
相关标签:
4条回答
  • 2021-02-05 05:35

    IN CASE you are using vagrant, from ubuntu's apt repository, uninstall it and step away from the scenario immediately!

    sudo apt-get purge vagrant

    sudo apt-get clean

    sudo apt-get autoremove

    Now download vagrant's .deb by Hashicop from https://www.vagrantup.com/downloads.html install and the error would be gone IN CASE you installed vagrant from apt

    clean and autoremove is important to prevent the installer from using cached files from apt even when you use the .deb!!

    0 讨论(0)
  • 2021-02-05 05:50

    I've found a working solution. Add the following code to your Vagrantfile somewhere in the Vagrant.configure("2") do |config| section.

    if Vagrant.has_plugin? "vagrant-vbguest"
      config.vbguest.no_install  = true
      config.vbguest.auto_update = false
      config.vbguest.no_remote   = true
    end
    
    0 讨论(0)
  • 2021-02-05 05:54

    I had same issue on Ubuntu 18.04 with Virtualbox 5.2.18

    Fix: add the following lines to your vagrant file.

    if Vagrant.has_plugin?("vagrant-vbguest")
        config.vbguest.auto_update = false  
    end
    

    See this comment at github

    0 讨论(0)
  • 2021-02-05 05:58

    Possibly too late for OP but in case it helps anyone else, comments in the vagrant-vbguest plugin project on GitHub suggest the additions are installed correctly but reported incorrectly. Updating to the latest version fixed it for me:

    vagrant plugin update
    Updating installed plugins...
    Updated 'vagrant-vbguest' to version '0.14.2'!
    
    0 讨论(0)
提交回复
热议问题