Vagrant 设置流浪者时出错

Vagrant 设置流浪者时出错,vagrant,virtualbox,Vagrant,Virtualbox,我试图设置流浪者,当我做了流浪起来,我得到以下错误。我以前从未犯过这个错误。但是当我今天尝试的时候,我得到了错误 GuestAdditions versions on your host (5.0.17) and guest (5.0.16) do not match. Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 4.2.0-34-generic

我试图设置流浪者,当我做了流浪起来,我得到以下错误。我以前从未犯过这个错误。但是当我今天尝试的时候,我得到了错误

GuestAdditions versions on your host (5.0.17) and guest (5.0.16) do not match.

Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.2.0-34-generic /boot/vmlinuz-4.2.0-34-generic
Downloading VirtualBox Guest Additions ISO from http://download.virtualbox.org/virtualbox/5.0.17/VBoxGuestAdditions_5.0.17.iso
==> default: Checking for guest additions in VM...
An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

The requested URL returned error: 404 Not Found
我相信这是因为下面的url不可访问:

有没有办法让流浪汉不检查这个

但我不知道如何解决这个问题。任何帮助都会非常有用。

只需安装,它将为您管理所有这些,包括正确版本的下载和安装

$ vagrant plugin install vagrant-vbguest
$ vagrant up
如果您不希望插件进行更新,请将其添加到
Vagrantfile

  # set auto_update to false, if you do NOT want to check the correct 
  # additions version when booting this machine
  config.vbguest.auto_update = false

正如您所注意到的,5.0.17没有退出,因此您可以尝试升级到5.0.18,该版本已从可用下载中存在

尝试但未成功。同一个朋友。这有助于:)