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

vagrant-libvirt conflict #169

Open
tbjornli opened this issue Sep 11, 2018 · 4 comments
Open

vagrant-libvirt conflict #169

tbjornli opened this issue Sep 11, 2018 · 4 comments
Labels

Comments

@tbjornli
Copy link

On a clean install of Ubuntu 18.04 and Vagrant 2.0.2 installed from repository.

I get this error message when trying to install the plugin

$ vagrant plugin install vagrant-hostsupdater
Installing the 'vagrant-hostsupdater' plugin. This can take a few minutes...
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)

Uninstalling vagrant-libvirt (which comes along when vagrant) and then installing vagrant-hostupdater works fine. It's also no problem installing the vagrant-libvirt package again afterwards.

@erikjoling
Copy link

How did you uninstall vagrant-libvirt?

$ vagrant plugin uninstall vagrant-libvirt
Uninstalling the 'vagrant-libvirt' plugin...
The plugin you're attempting to uninstall ('vagrant-libvirt') is a
system plugin. This means that the plugin is part of the installation
of Vagrant. These plugins cannot be removed.

You can however, install a plugin with the same name to replace
these plugins. User-installed plugins take priority over
system-installed plugins.

@erikjoling
Copy link

Updating Vagrant to a newer versions solved my problem.

Here's a related ticket for the vagrant-hostsmanager plugin:
devopsgroup-io/vagrant-hostmanager#256 (comment)

@tbjornli
Copy link
Author

tbjornli commented Oct 2, 2018

How did you uninstall vagrant-libvirt?

$ vagrant plugin uninstall vagrant-libvirt
Uninstalling the 'vagrant-libvirt' plugin...
The plugin you're attempting to uninstall ('vagrant-libvirt') is a
system plugin. This means that the plugin is part of the installation
of Vagrant. These plugins cannot be removed.

You can however, install a plugin with the same name to replace
these plugins. User-installed plugins take priority over
system-installed plugins.

I uninstalled it with apt (apt-get remove vagrant-libvirt)

@tbjornli
Copy link
Author

tbjornli commented Oct 2, 2018

Updating Vagrant to a newer versions solved my problem.

Here's a related ticket for the vagrant-hostsmanager plugin:
devopsgroup-io/vagrant-hostmanager#256 (comment)

Thanks for the information. I'm using the 2.0.2 available from the repository. I'm guessing this will be solved as soon as 2.0.3 is available through the repo.

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

No branches or pull requests

3 participants