表題の通り。
■ 環境
- Vagrant 1.8.5 -> 1.9.1
- Mac OSX El Capitan
■ version
現状を確認したところ、下記のようにあったので`upgrade`した。
$ vagrant version
Installed Version: 1.8.5
Latest Version: 1.9.1
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.1/CHANGELOG.md
$
■ plugin
`upgrade`終了後に再度確認してみたところ、下記のようにエラーが発生。
$ 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 expunge --reinstall
This command permanently deletes all currently installed user plugins. It
should only be used when a repair command is unable to properly fix the
system.
Continue? [Y/N]:Y
All user installed plugins have been removed from this Vagrant environment!
Vagrant will now attempt to reinstall user plugins that were removed.
Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Fetching: micromachine-2.0.0.gem (100%)
Fetching: vagrant-vbguest-0.13.0.gem (100%)
Installed the plugin 'vagrant-vbguest (0.13.0)'!
$
これで正常に使用できるようになったようである。
以上。