2016-07-05 49 views
1

我得到這個時候我漂泊不定了:隱祕流浪升級消息

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 /宅基地?

回答

1

嗚嗚......奇怪,你試,我只是試圖在本地,因爲我也有,現在0.4.4

[email protected]:~/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

+0

那就是我所要克服的。感謝您通過示例運行。奇怪的。 – kratos

0

更新後的盒子的構建方式可能存在問題。有關版本控制的更多信息,請參閱here。但由於

更新機器需要摧毀和重建它,這 可能會導致重要數據丟失......

你可能會更好只是創建一個新的文件,流浪漢和移植了你的數據(希望在外部卷中)。你也應該確保它值得更新,檢查:https://atlas.hashicorp.com/laravel/boxes/homestead

還檢查你有最新版本的流浪和VB。