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

Problem provisioning with Vagrant 2.2.6, VirtualBox 6.1.0 on Fedora 31 (unmet dependencies) #2039

Closed
unfulvio opened this issue Jan 2, 2020 · 5 comments

Comments

@unfulvio
Copy link

unfulvio commented Jan 2, 2020

I've recently upgraded from Fedora 30 to Fedora 31 and unfortunately Varying Vagrant Vagrants stopped working.

The first thing I noticed is an incompatibility between Vagrant 2.2.6 and VirtualBox 6.1 - but this can be addressed with a workaround. And the upcoming version 2.2.7 of Vagrant should fix that.

The second problem which I was unable to fix appears having to do with vagrant-hostsupdater.

I can't install anymore this plugin required by VVV, and the following error is thrown by Vagrant when I try to install it:

Vagrant failed to properly resolve required dependencies. These
errors can commonly be caused by misconfigured plugin installations
or transient network issues. The reported error is:

conflicting dependencies listen (~> 3.0.0) and listen (= 3.1.5)
  Activated listen-3.1.5
  which does not match conflicting dependency (~> 3.0.0)

  Conflicting dependency chains:
    listen (= 3.1.5), 3.1.5 activated

  versus:
    middleman-core (= 4.2.1), 4.2.1 activated, depends on
    listen (~> 3.0.0)

Mine is a Fedora vanilla install with only Vagrant, Ruby, Virtualbox.

I tried uninstalling all of these, and also starting fresh with VVV, but while I can do something about VirtualBox, I can't seem to get around the vagrant plugins failure.

Unfortunately I'm not sufficiently knowledgeable of the Ruby environment/language to address the issue.

Any suggestions?

Thanks, and happy new year

@unfulvio
Copy link
Author

unfulvio commented Jan 2, 2020

never mind looks like I found a workaround also for the 2nd issue by running the flag to ignore dependencies:

VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT=1 vagrant plugin install vagrant-hostsupdater

thanks

@unfulvio unfulvio closed this as completed Jan 2, 2020
@tomjn
Copy link
Member

tomjn commented Jan 2, 2020 via email

@unfulvio
Copy link
Author

unfulvio commented Jan 2, 2020

workaround for lack of VB 6.1 support in Vagrant: oracle/vagrant-projects#178 (comment)

workaround for hostsupdater, just remove/expunge old plugin, then run from command line:

VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT=1 vagrant plugin install vagrant-hostsupdater

I found out you can run vagrant commands with this variable from the command line and it will ignore strict checks on dependencies

I will file also a ticket on the plugin repo so they are informed about it, good idea

@unfulvio
Copy link
Author

unfulvio commented Jan 2, 2020

for your reference: agiledivider/vagrant-hostsupdater#185

@lock
Copy link

lock bot commented Feb 21, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants