2016-04-21 65 views
0

隨着sudo apt-get updatesudo apt-get upgrade vagrant,Ubuntu告訴我我在最新版本1.4.3。想安裝Laravel宅基地,其documentation for Laravel 5.0狀態時,此舊版本不能正常工作:在Ubuntu LTS 14.04(理想情況下爲Laravel Homestead)安裝較新的流浪者

如果失敗,則可能有一箇舊版本的流浪者需要 的盒子的URL。下面應該工作:

流浪漢框中添加laravel /宅基地 https://atlas.hashicorp.com/laravel/boxes/homestead

導致:

❯ vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead 
Downloading box from URL: https://atlas.hashicorp.com/laravel/boxes/homestead 
Extracting box...e: 0/s, Estimated time remaining: --:--:--) 
The box failed to unpackage properly. Please verify that the box 
file you're trying to add is not corrupted and try again. The 
output from attempting to unpackage (if any): 

bsdtar: Error opening archive: Unrecognized archive format 

The documentation for 5.1+狀態:

如果此命令失敗,請確保您的Vagrant安裝是最新的。

並完全忽略了帶有完整URL的備選方案。

如何更新我的Vagrant安裝到最新版本?

回答