Vagrantにおいて表題の通り。
■ 環境
- Vagrant 1.7.5, 1.7.7
- Mac OSX El Capitan
■ vagrant
versionを確認したところ、新しいのが出ているようであった。
$ vagrant version
Installed Version: 1.9.5
Latest Version: 1.9.7
To upgrade to the latest version, visit the downloads page and
download and install the latest version of Vagrant from the URL
below:
https://www.vagrantup.com/downloads.html
If you're curious what changed in the latest release, view the
CHANGELOG below:
https://github.com/mitchellh/vagrant/blob/v1.9.7/CHANGELOG.md
$
upgradeした。再度versionを確認したところ下記のようであった。
$ vagrant version
Vagrant failed to initialize at a very early stage:
The plugins failed to initialize correctly. This may be due to manual
modifications made within the Vagrant home directory. Vagrant can
attempt to automatically correct this issue by running:
vagrant plugin repair
If Vagrant was recently updated, this error may be due to incompatible
versions of dependencies. To fix this problem please remove and re-install
all plugins. Vagrant can attempt to do this automatically by running:
vagrant plugin expunge --reinstall
Error message given during initialization: Unable to resolve dependency: user requested 'vagrant-vbguest (> 0)'
$
使用しているプラグイン”vagrant-vbguest“がどうやらダメだったようだ。出力されたメッセージにあるとおり実行してみる。
$ vagrant plugin repair
Repairing currently installed plugins. This may take a few minutes...
Fetching: vagrant-share-1.1.9.gem (100%)
Fetching: micromachine-2.0.0.gem (100%)
Fetching: vagrant-vbguest-0.14.2.gem (100%)
Installed plugins successfully repaired!
$
再度versionを確認。
$ vagrant version
Installed Version: 1.9.7
Latest Version: 1.9.7
You're running an up-to-date version of Vagrant!
$
これで問題ないであろう。
以上。