hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.05k stars 4.42k forks source link

Unable to install plugins like libvirt or virtualbox anymore #13245

Open dklement-unity opened 11 months ago

dklement-unity commented 11 months ago

Debug output

https://gist.github.com/dklement-unity/2f6f8dadc7b3771391acb6fe12cf3e43

Expected behavior

Usually Vagrant just installs plugins and allows using providers.

Actual behavior

It errors with unsatisfied net-ssh dependency. The problem ocurred in the past with different versions of net-ssh https://github.com/hashicorp/vagrant/issues/12837

Reproduction information

vagrant plugin install vagrant-libvirt

# or

vagrant plugin install virtualbox

Vagrant version

In Arch 'Extra' repo it's 2.3.6, but I've also tried 2.3.7 from 'Extra-Testing'. Both have same result, however with 2.3.6 loaded net-ssh version is 7.1.0, and with 2.3.7 it's 7.2.0.

Host operating system

Arch rolling stable, fully updated

Guest operating system

Irrelevant

Steps to reproduce

  1. Remove or rename ~/.vagrant.d/
  2. Try to install one of the plugins

Vagrantfile

Irrelevant

dklement-unity commented 11 months ago

I tried to downgrade following packages (from 3.0.6-1)

It makes no difference I'm out of ideas what else could cause it, though it happened after system update.

dklement-unity commented 11 months ago

For now I worked around the issue with

VAGRANT_DISABLE_STRICT_DEPENDENCY_ENFORCEMENT=1

and it works fine