Closed metalagman closed 6 years ago
I can confirm this issue
+1
vagrant ssh The following plugins will be installed: vagrant-auto_network, vagrant-vbguest, vagrant-hostsupdater Installing the 'vagrant-auto_network' 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)
Installing the 'vagrant-vbguest' 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)
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)
Please run again
Issue is simple, vagrant-libvirt installed with vagrant on 18.04 has version 1.45.0. Version 1.43.0 is not available for this distro.
So what's the fix?
Have same issue when install vagrant-aws. My PC running Ubuntu 18.04.
$ vagrant plugin install vagrant-aws
Installing the 'vagrant-aws' 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)
I had a similar problem that was resolved when I updated to Vagrant v2.0.3
:
wget -c https://releases.hashicorp.com/vagrant/2.0.3/vagrant_2.0.3_x86_64.deb
sudo dpkg -i vagrant_2.0.3_x86_64.deb
(I have not yet tried with v2.0.4
)
@Potherca Thanks! It works for me as well.
@Potherca works for me too...tanks
Although I appreciate the "Thanks", I would like to suggest simply adding a :+1: to my comment.
Is there a fix other than reverting to an older vagrant package?
Conflict present With vagrant 2.2.3 on ubuntu 19'ish - uname -a Linux 5.3.0-29-generic , "Ubuntu"v="19.10 (Eoan Ermine)"
Err ~ Installing the 'vagrant-lxd' 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 (= 2.1.0) Activated fog-core-2.1.0 which does not match conflicting dependency (~> 1.43.0) Conflicting dependency chains: fog-core (= 2.1.0), 2.1.0 activated versus: vagrant-libvirt (> 0), 0.0.41 activated, depends on fog-core (~> 1.43.0) root@xxxx:/home/vagrant# vagrant -v Vagrant 2.2.3
Fix - apt-get remove vagrant
Then revert to older vagrant deb version - (as suggested above:)
Alls good:) Installed the plugin 'vagrant-lxd (0.4.4)'! root@xxx:/home/vagrant# vagrant -v Vagrant 2.0.3
Got the same issue on 19.10 ubuntu. The only solution is to get latest .deb package from the vagrant official site and to install it manualy.