Php vm*盒子';hashicorp/precise64';在ubuntu中找不到
我在Ubuntu系统中安装了Vagrant(14.04)。当我输入“vagrant up”时,注释显示以下错误Php vm*盒子';hashicorp/precise64';在ubuntu中找不到,php,vagrant,vagrant-plugin,Php,Vagrant,Vagrant Plugin,我在Ubuntu系统中安装了Vagrant(14.04)。当我输入“vagrant up”时,注释显示以下错误 Bringing machine 'default' up with 'virtualbox' provider... There are errors in the configuration of this machine. Please fix the following errors and try again: vm * the box 'hashicorp/precise6
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm * the box 'hashicorp/precise64' could not be found
Precise64是Ubuntu服务器12.04 LTS。看看这个。你使用的是一个非常旧的Vagrant版本-我建议你更新,现在最新的版本是 因为vagrant 1.8x vagrant可以从下载框,并且支持当前版本不支持的框版本控制。您正在使用的文件与您的版本不兼容 如果你能更新-继续更新,它会工作的。(请注意,
hashicorp/*
框也有些过时,因此我建议您切换到最新的ubuntu/*
,在您的情况下使用ubuntu/precise64
)
如果您无法更新(这不是我的建议)-您需要手动下载该框(从这里)并将其添加到您的vagrant box(命令将是
vagrant box add--name ubuntu/precise64),然后从您的vagrant文件中删除box\u版本,在此之后,您应该能够运行
vagrant up`在www目录或其他位置安装vagrant。您的vagrant版本是什么?我的vagrant版本是1.4.3I还获得“*以下设置不应该存在:box_version”Error@Frédédérichenri当我输入“vagrant login”注释时。