You are not logged in.

#1 2023-06-30 07:16:21

Grigorios
Member
Registered: 2021-01-10
Posts: 27

[SOLVED] Vagrant cannot install vagrant libvirt provider

I am facing problem due to a dependency problem with vagrant-libvirt

 vagrant plugin install vagrant-libvirt 

throws me the following error

 Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
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 i18n (= 1.12.0) and i18n (= 1.13.0)
  Activated i18n-1.13.0
  which does not match conflicting dependency (= 1.12.0)

  Conflicting dependency chains:
    i18n (= 1.13.0), 1.13.0 activated

  versus:
    i18n (= 1.12.0)

  Gems matching i18n (= 1.12.0):
    i18n-1.12.0 

My system is up-to-date

vagrant --version
Vagrant 2.3.6

And I am using vagrant version 2.3.6, freshly installed.

I would appreciate pointers into the right direction how to fix this.

Kind regards

Grigorios

Last edited by Grigorios (2023-07-08 12:10:18)

Offline

#2 2023-07-07 16:55:41

plma
Member
Registered: 2023-07-07
Posts: 11

Re: [SOLVED] Vagrant cannot install vagrant libvirt provider

First, make sure you followed everything as describe in the installation guide here: https://vagrant-libvirt.github.io/vagra … .html#arch

If you did that correctly, you might want to look into the 'CONFIGURE_ARGS' variable, as it seems to cause some errors.
So you might want to try:
export CONFIGURE_ARGS="with-libvirt-include=/usr/include/libvirt with-libvirt-lib=/usr/lib64"

Offline

#3 2023-07-08 12:09:50

Grigorios
Member
Registered: 2021-01-10
Posts: 27

Re: [SOLVED] Vagrant cannot install vagrant libvirt provider

plma wrote:

First, make sure you followed everything as describe in the installation guide here: https://vagrant-libvirt.github.io/vagra … .html#arch

If you did that correctly, you might want to look into the 'CONFIGURE_ARGS' variable, as it seems to cause some errors.
So you might want to try:
export CONFIGURE_ARGS="with-libvirt-include=/usr/include/libvirt with-libvirt-lib=/usr/lib64"

Thank you, setting the CONFIGURE_ARGS and the other recommended variables made the installation successful. Now I only have to understand the ruby ecosystem better, to make sense of it, why smile

Offline

Board footer

Powered by FluxBB