【问题标题】:Error when Vagrant Up running?Vagrant Up 运行时出错?
【发布时间】:2023-04-11 10:29:01
【问题描述】:

我在 Ubuntu 14.04 上使用 vagrant,它的版本是 Vagrant 1.4.3。当我厌倦了流浪者时,它每次都会给我以下错误。

Successfully added box 'precise64' with provider 'virtualbox'!
There are errors in the configuration of this machine. Please fix
the following errors and try again:

shell provisioner:
* The following settings shouldn't exist: run

我的 virtualbox 版本 = 4.3.10_Ubuntur93012

请帮助我解决这个问题,它阻止了我的每个工作流程:(

【问题讨论】:

标签: vagrant ubuntu-14.04


【解决方案1】:

在你的 Ubuntu 机器上安装最新版本的 Vagrant(假设是 64 位):

  1. 删除旧版本的 Vagrant:sudo apt-get remove vagrant
  2. https://www.vagrantup.com/downloads.html复制Debian 64位下载链接
  3. 在您的控制台中,输入 wget,粘贴第 2 步中的下载链接,然后回车(应该类似于 wget https://releases.hashicorp.com/vagrant/x.x.x/vagrant_x.x.x_x86_64.deb
  4. 输入sudo dpkg -i vagrant_x.x.x_x86_64.deb,其中x.x.x是当前的Vagrant版本

学分:

https://www.howtoforge.com/tutorial/ubuntu-vagrant-install-and-getting-started/ http://www.icchasethi.com/installing-latest-vagrant-and-virtualbox-version-on-ubuntu-12-01/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-09-04
    • 2016-07-06
    • 1970-01-01
    • 1970-01-01
    • 2015-01-29
    • 2014-07-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多