Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Cannot install with Vagrant 2.0.2 on Ubuntu 18.04 due to dependency conflict #330

Closed
Russell-Jones-OxPhys opened this issue Mar 8, 2019 · 3 comments

Comments

@Russell-Jones-OxPhys
Copy link

Russell-Jones-OxPhys commented Mar 8, 2019

$ vagrant plugin install vagrant-vbguest
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

conflicting dependencies fog-core (~> 1.43.0) and fog-core (= 1.45.0)
  Activated fog-core-1.45.0
  which does not match conflicting dependency (~> 1.43.0)

  Conflicting dependency chains:
    fog-core (= 1.45.0), 1.45.0 activated

  versus:
    vagrant-libvirt (> 0), 0.0.41 activated, depends on
    fog-core (~> 1.43.0)

I guess this means the plugin is incompatible with recent ruby-fog-core?

$ apt search fog-core
Sorting... Done
Full Text Search... Done
ruby-fog-core/bionic,bionic,now 1.45.0-1 all [installed,automatic]
  shared classes and tests for fog providers and services
@fnordfish
Copy link
Member

Sorry, this does not look like a vagrant-vbguest issue. This is a conflict on the gem fog-core which is a dependency of vagrant-libvirt. vbguest has no dependency on that one.
My best guess would be to uninstall libvirt and reinstall it to see if there's another plugin causing the conflict.

@Russell-Jones-OxPhys
Copy link
Author

I see this is a dupe of #292 Sorry for not finding that one before.

@Russell-Jones-OxPhys
Copy link
Author

apt remove vagrant-libvirt sorts it. I guess it's a recommendation of the vagrant package.

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