devopsgroup-io / vagrant-digitalocean

:droplet: A Vagrant provider plugin that manages DigitalOcean droplets.
Mozilla Public License 2.0
1.71k stars 182 forks source link

Problem installing on Ubuntu 19.10 #285

Open postrational opened 4 years ago

postrational commented 4 years ago

I'm having problems installing vagrant-digitalocean on a fresh installation of Ubuntu 19.10.

The vagrant package which comes from apt is 2.2.3, which comes pre-packaged with vagrant-libvirt version 0.0.45.

$ vagrant --version    
Vagrant 2.2.3

$ vagrant plugin list
vagrant-libvirt (0.0.45, system)

When I try to install vagrant-digitalocean I get the following version conflict:

$ vagrant plugin install vagrant-digitalocean
Installing the 'vagrant-digitalocean' 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)

Is there a known workaround for this problem?