找不到 Vagrant 框错误

标签 vagrant virtual-machine virtualbox vagrantfile puphpet

我正在尝试使用 virtual box 设置虚拟机。我在我的 Windows 7 64 位机器上安装了虚拟框和 Vagrant 。我还使用 puphpet 构建了一个环境。但是每当我尝试安装盒子 ubuntu1404-x64 时,它都会抛出错误

Bringing machine 'machine1' up with 'virtualbox' provider...
==>Machine1: Box 'puphpet/ubuntu1404-x64' could not be found. Attempting to find and install...
machine1: Box Provider: virtualbox
machine1: Box Version: >= 0
machine1: Box file was not detected as metadata. Adding it directly...
machine1: Adding box 'puphpet/ubuntu1404-x64' (v0) for provider: virtualbox
machine1: Downloading: puphpet/boxes/ubuntu1404-x64
machine1:
An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

我检查了 URL https://atlas.hashicorp.com/puphpet/boxes/ubuntu1404-x64/并且盒子 puphpet/ubuntu1404-x64 确实存在。

还有当它说 The error message, if any, is reproduced below它不会在终端显示任何描述。

我在 google 上搜索了这个问题,在 stackoverflow 上尝试了一些答案,但没有结果。请帮忙。

最佳答案

我过去遇到过类似的情况,它帮助我使用 vagrant 命令行下载盒子,而不是自动下载它(从 Vagrantfile 中的 URL):

$ vagrant box add USER/BOX

查看更多 here .你能试试同样的方法吗?它也可能对你有用。

编辑:在 Windows 盒子上,似乎需要 Microsoft Visual C++ 2010 redist 来执行盒子的配置。可以下载here .有关 puhpet issuet 的更多信息:here

关于找不到 Vagrant 框错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39325033/

相关文章:

windows - 在 Mac OS X 上运行的虚拟机 : how to emulate Alt-F4?

windows - 在 Linux VirtualBox 和 Windows 7 之间设置网络

linux - 将 ubuntu 虚拟机升级到 OpenGL 4

docker - 无法在 Vagrant 上安装 Kubernetes

ssh - "vagrant provision"有效,但我无法使用 Ansible 发送临时命令

virtual-machine - Vagrant:无法从主机 ping 客户机

hadoop - 如何找到 Cent OS 虚拟机的实际 IP 地址?

CakePHP 与 Homestead

multithreading - Azure XS 虚拟机上不带 GUI 的 Ubuntu 服务器

azure - 如何在 Azure VM 上安装 NVIDIA 显卡驱动程序