vagrant启动插件disksize异常日志
1.vagrant启动异常日志
env
- vagrant-v2.4.2
- plugin vagrant-disksize
➜ rocky9-6x vgtu
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
Or you may want to try updating the installed plugins to their latest
versions:
vagrant plugin update //插件升级
Error message given during initialization: Unable to resolve dependency: user requested 'vagrant-disksize (= 0.1.3)'
➜ rocky9-6x vagrant plugin repair
==> vagrant: A new version of Vagrant is available: 2.4.3 (installed version: 2.4.2)!
==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html
Repairing currently installed global plugins. This may take a few minutes...
Failed to automatically repair installed Vagrant plugins. To fix this
problem remove all user installed plugins and reinstall. Vagrant can
do this for you automatically by running the following command:
vagrant plugin expunge --reinstall
Failure message received during repair:
conflicting dependencies logger (= 1.6.0) and logger (= 1.6.1)
Activated logger-1.6.1
which does not match conflicting dependency (= 1.6.0)
Conflicting dependency chains:
logger (= 1.6.1), 1.6.1 activated
versus:
logger (= 1.6.0)
Gems matching logger (= 1.6.0):
logger-1.6.0
根据提示:是依赖logger存在版本冲突。
2.解决
issue上反馈,2.4.3版本已修复logger版本冲突问题
issue
2.1upgrade vagrant
- https://releases.hashicorp.com/vagrant/
- https://releases.hashicorp.com/vagrant/2.4.3/vagrant_2.4.3_darwin_amd64.dmg
brew info vagrant
brew upgrade vagrant