Closed ckotte closed 3 years ago
Uninstall also doesn't work properly.
# vagrant plugin install vagrant-libvirt
Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
Fetching excon-0.75.0.gem
Fetching formatador-0.2.5.gem
Fetching fog-core-2.2.0.gem
Fetching fog-json-1.2.0.gem
Fetching mini_portile2-2.4.0.gem
Fetching nokogiri-1.10.10.gem
Building native extensions. This could take a while...
Fetching fog-xml-0.1.3.gem
Fetching ruby-libvirt-0.7.1.gem
Building native extensions. This could take a while...
Fetching fog-libvirt-0.7.0.gem
Fetching vagrant-libvirt-0.1.2.gem
Installed the plugin 'vagrant-libvirt (0.1.2)'!
# vagrant plugin uninstall vagrant-libvirt
Uninstalling the 'vagrant-libvirt' plugin...
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:
Gem 'excon-0.75.0' is not installed in directory /home/fubar/.data/.vagrant.d/gems/2.7.1
# ls /home/fubar/.data/.vagrant.d/gems/2.7.1/gems
excon-0.75.0 fog-core-2.2.0 fog-json-1.2.0 fog-libvirt-0.7.0 fog-xml-0.1.3 formatador-0.2.5 mini_portile2-2.4.0 nokogiri-1.10.10 ruby-libvirt-0.7.1 vagrant-libvirt-0.1.2
It only works using sudo
and a new user account
The issue was a symlink of .vagrant.d to a folder on another Btrfs partition.
Steps to reproduce
Expected behaviour
It shouldn't exit with such a strange error.
Actual behaviour
Looks like ruby cannot find "something".
System configuration
OS/Distro version:: Arch Linux
Libvirt version:
Output of
vagrant version; vagrant plugin list
:Output of
VAGRANT_LOG=debug vagrant ... --provider=libvirt
A Vagrantfile to reproduce the issue:
Are you using upstream vagrant package or your distros package? Distro