when I use this command:
vagrant up
I obtain this error:
[machine1] GuestAdditions versions on your host (4.3.36) and guest (5.0.10) do not match.
how can I update guest addition from ubuntu shell?
Use the vagrant vbguest plugin
Install the plugin:
vagrant plugin install vagrant-vbguest
Let vagrant up
it will install the virtual box client if needed.
If you want to force the installation you can run vagrant vbguest --do install
You need to upgrade your VBoxGuestAdditions ISO either by:
installing/upgrading the package by running:
sudo apt-get install virtualbox-guest-additions-iso
or by downloading ISO file from this Downloads page.
Example for macOS:
sudo wget -O /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso http://download.virtualbox.org/virtualbox/5.0.10/VBoxGuestAdditions_5.0.10.iso
where version of VBoxGuestAdditions (5.0.10
) should match installed VirtualBox binaries.
See: How to upgrade to VirtualBox Guest Additions?
Consider also upgrading your VM box by:
vagrant box update
For Linux Ubuntu, also check this page: Setting up VirtualBox Guest Additions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With