在mac上使用bento / ubuntu-18.04进行流浪问题

时间:2018-05-28 22:10:16

标签: vagrant ubuntu-18.04

我正在尝试使用bento / ubuntu-18.04,版本201803.24.0创建一个VM。一世 我在Mac上运行Sierra版本10.12.4,Vagrant 2.1.1。

up失败了:

Package linux-headers-4.15.0-12-generic is not available, but is
referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'linux-headers-4.15.0-12-generic' has no installation candidate
==> web: Checking for guest additions in VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
apt-get install -y linux-headers-`uname -r` dkms
Stdout from the command:
Reading package lists...
Building dependency tree...
Reading state information...
Package linux-headers-4.15.0-12-generic is not available, but is
referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Stderr from the command:
E: Package 'linux-headers-4.15.0-12-generic' has no installation candidate

从谷歌搜索我认为这可能与我的GuestAdditions有关 版本。在上升过程中,我看到了这样的信息:

GuestAdditions versions on your host (5.2.12) and guest (5.2.6) do not match.

我跑了'vagrant plugin install vagrant-vbguest'输出:

Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vbguest (0.15.1)'!

但是我仍然使用相同的消息得到同样的错误。

任何人都知道我的问题是什么以及如何解决它?

0 个答案:

没有答案