Vagrant plugin install problems

416 views
Skip to first unread message

Mandita George

unread,
Feb 6, 2018, 12:51:32 PM2/6/18
to Vagrant
Hello people ,

I have an RHEL 7.4 , kernel 3.10.0-693.11.6.el7.x86_64 , vagrant version 2.0.2  ,

I tried to install the "libvirt" plugin and from what i see i have too up to date "ffi" package (  1.9.18 , instead of ~> 0.6.3 ) :

------------------------------------------------------------------------------------------------------------------------------------------------------
root # vagrant plugin install libvirt
Installing the 'libvirt' 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 ffi (~> 0.6.3) and ffi (= 1.9.18)
  Activated ffi-1.9.18
  which does not match conflicting dependency (~> 0.6.3)

  Conflicting dependency chains:
    ffi (= 1.9.18), 1.9.18 activated

  versus:
    libvirt (> 0), 0.1.0 activated, depends on
    ffi (~> 0.6.3)

------------------------------------------------------------------------------------------------------------------------------------------------------

Anyone got an ideea , does this really mean i must have a less than 0.6.3 version activated ?

This is really weird , and the first time when i need a lower version on a package .

Best regards .

Brian Cain

unread,
Feb 6, 2018, 12:53:33 PM2/6/18
to vagra...@googlegroups.com
Hey there,

You actually want to be installing the plugin vagrant-libvirt, rather than libvirt. That should fix the issues you're running into.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/5b630efb-bb42-4acb-96e4-5820b41b1853%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Brian Cain

Mandita George

unread,
Feb 6, 2018, 1:51:39 PM2/6/18
to Vagrant
Hello Brian , and thank you very much , it worked

############################################################
[george@oc0471326534 ~]$ pkg-config --exists libvirt
[george@oc0471326534 ~]$ vagrant  plugin  install vagrant-libvirt
Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
Building native extensions.  This could take a while...
Fetching: fog-libvirt-0.4.2.gem (100%)
Fetching: vagrant-libvirt-0.0.42.gem (100%)
Installed the plugin 'vagrant-libvirt (0.0.42)'!
[george@oc0471326534 ~]$
############################################################

And for people like me who do not know how to see a list of availabe plugins to be installed here you are :
----------------------------------------------------
gem list --remote  vagrant-
----------------------------------------------------

Best Regards everyone !
Reply all
Reply to author
Forward
0 new messages