Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Vagrant up failure #2685

Closed
mcyzyk opened this issue Aug 18, 2023 · 3 comments
Closed

Q: Vagrant up failure #2685

mcyzyk opened this issue Aug 18, 2023 · 3 comments

Comments

@mcyzyk
Copy link

mcyzyk commented Aug 18, 2023

vagrant up
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-goodhosts (= 1.1.4)'

My vagrant-goodhosts plugin has been upgraded to the latest version 1.1.6, but no matter what I do Vagrant is looking for a specific version, the old version, 1.1.4.

Not sure how to remedy!

Mark

@welcome
Copy link

welcome bot commented Aug 18, 2023

Thanks for opening your first issue here! Be sure to follow the issue template and include your OS/Vagrant/VVV versions! Don't forget you can get support in the VVV slack at https://varyingvagrantvagrants.org/docs/en-US/slack/

VVV
Join the VVV Slack Workspace

@tomjn
Copy link
Member

tomjn commented Aug 18, 2023

Add --local to the end of the command, the commands you ran affect globally installed vagrant plugins, but we use --local so you don't have to type out the names of all the plugins VVV needs.

Here's the issue and the PR to fix it by mentioning --local in the command over at vagrant but they've kind of stalled for some reason:

hashicorp/vagrant#13030

hashicorp/vagrant#13029

@tomjn tomjn closed this as completed Aug 18, 2023
@tomjn
Copy link
Member

tomjn commented Aug 18, 2023

The vagrant plugin expunge --reinstall command aka vagrant plugin expunge --reinstall --local

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants