Issues installing vagrant-libvirt plugin on Ubuntu 20.04
-
Do you have a /usr/share/vagrant-plugins/plugins.d/vagrant-libvirt.json file?
-
@stacksofplates said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
Do you have a /usr/share/vagrant-plugins/plugins.d/vagrant-libvirt.json file?
Yes
{ "vagrant-libvirt": { "ruby_version":"2.5.1", "vagrant_version":"2.0.2", "gem_version":"", "require":"", "sources":[] } }
-
what if you do a
vagrant plugin list
-
@stacksofplates said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
vagrant plugin list
No plugins installed.
-
@IRJ said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
@stacksofplates said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
vagrant plugin list
No plugins installed.
So I'm kind of shooting in the dark. Is there a plugins directory under ~/.vagrant.d/?
If there is what happens if you delete it?
-
@stacksofplates said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
@IRJ said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
@stacksofplates said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
vagrant plugin list
No plugins installed.
So I'm kind of shooting in the dark. Is there a plugins directory under ~/.vagrant.d/?
If there is what happens if you delete it?
~/.vagrant.d$ ls boxes data gems insecure_private_key rgloader setup_version tmp
-
So no plugins directory
-
joel@systemname:~/.vagrant.d$ sudo apt install vagrant-libvirt [sudo] password for joel: Reading package lists... Done Building dependency tree Reading state information... Done vagrant-libvirt is already the newest version (0.0.45-2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-
@IRJ said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
joel@systemname:~/.vagrant.d$ sudo apt install vagrant-libvirt [sudo] password for joel: Reading package lists... Done Building dependency tree Reading state information... Done vagrant-libvirt is already the newest version (0.0.45-2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
What if you do a reinstall? apt --reinstall vagrant-libvirt?
-
@IRJ said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
@stacksofplates said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
Do you have a /usr/share/vagrant-plugins/plugins.d/vagrant-libvirt.json file?
Yes
{ "vagrant-libvirt": { "ruby_version":"2.5.1", "vagrant_version":"2.0.2", "gem_version":"", "require":"", "sources":[] } }
Isn't 2.0.2 old as dirt? 2.2.9 is the current version.
-
@Pete-S said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
@IRJ said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
@stacksofplates said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
Do you have a /usr/share/vagrant-plugins/plugins.d/vagrant-libvirt.json file?
Yes
{ "vagrant-libvirt": { "ruby_version":"2.5.1", "vagrant_version":"2.0.2", "gem_version":"", "require":"", "sources":[] } }
Isn't 2.0.2 old as dirt? 2.2.9 is the current version.
I have 2.2.9 installed. Not sure why the config mentions that version
-
@stacksofplates said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
apt --reinstall vagrant-libvirt
Reinstall supposedly worked, but still not seeing plugin
-
Got it working. Apparently I missed this step
apt-get install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev
-
@IRJ said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
Got it working. Apparently I missed this step
apt-get install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev
It's interesting that those packages were not pulled in automatically by the package manager.
I guess the dependency was implicit. -
@IRJ said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:
Got it working. Apparently I missed this step
apt-get install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev
I don't remember doing that, but maybe I did? Sorry I couldn't be of more help.
-
Having this issue on another Ubuntu 20.04.
Same error as before, but everything seems to be installed correctly
vagrant plugin list No plugins installed.