Vagrant up - 无法找到“ubuntu / vivid64”框

问题描述 投票:3回答:3

在vagrant up上不断收到此错误:

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/vivid64' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
The box 'ubuntu/vivid64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/ubuntu/vivid64"]
Error: The requested URL returned error: 404 Not Found

我建议url有问题,但不知道如何解决它..

ubuntu vagrant virtualbox
3个回答
2
投票

你也可以尝试larryli / vivid64盒子。

https://vagrantcloud.com/larryli/boxes/vivid64


1
投票

该框不存在 - 网址返回404.尝试不同的框,如https://atlas.hashicorp.com/ubuntu/boxes/wily64


0
投票

您可以执行以下步骤之一:

  1. 由此替换Vagrantfile(查找等效定义) Vagrant.configure(“2”)执行| config | config.vm.box =“larryli / vivid64”结束
  2. 删除Vagrantfile并创建一个新的。 rm Vagranfile vagrant init larryli / vivid64 vagrant up
© www.soinside.com 2019 - 2024. All rights reserved.