当我流浪时我得到了这个:
A newer version of the box 'laravel/homestead' is available! You currently
==> default: have version '0.4.4'. The latest is version '0.5.0'. Run
==> default: `vagrant box update` to update.
$ 流浪者盒更新
==> default: Checking for updates to 'laravel/homestead'
default: Latest installed version: 0.4.4
default: Version constraints: >= 0.4.0
default: Provider: virtualbox
==> default: Updating 'laravel/homestead' with provider 'virtualbox' from version
==> default: '0.4.4' to '0.5.0'...
==> default: Box file was not detected as metadata. Adding it directly...
A name is required when adding a box file directly. Please pass
the `--name` parameter to `vagrant box add`. See
`vagrant box add -h` for more help.
我接下来要做什么来更新laravel / homestead?
答案 0 :(得分:1)
0.4.4
和
fhenri@machine:~/project/examples/vagrant/laravel$ vagrant box update
"/Users/fhenri/project/examples/vagrant/laravel"
==> default: Checking for updates to 'laravel/homestead'
default: Latest installed version: 0.4.4
default: Version constraints:
default: Provider: virtualbox
==> default: Updating 'laravel/homestead' with provider 'virtualbox' from version
==> default: '0.4.4' to '0.5.0'...
==> default: Loading metadata for box 'https://atlas.hashicorp.com/laravel/homestead'
==> default: Adding box 'laravel/homestead' (v0.5.0) for provider: virtualbox
default: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
default: Progress: 1% (Rate: 476k/s, Estimated time remaining: 0:45:06)
所以在这里工作。你能检查一下是否可以直接下载box file吗?
答案 1 :(得分:0)
更新框的构建方式可能存在问题。有关版本控制的更多信息,请参阅here。但是从那以后
更新机器需要销毁它并重新创建它 会导致重要数据丢失......
您可能最好只创建一个新的Vagrant文件并移植您的数据(希望在外部卷中)。您还应该确保它值得更新,请检查:https://atlas.hashicorp.com/laravel/boxes/homestead
同时检查您是否拥有最新版本的Vagrant和VB。