ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Issues installing vagrant-libvirt plugin on Ubuntu 20.04

    IT Discussion
    3
    24
    6.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stacksofplatesS
      stacksofplates
      last edited by

      Do you have a /usr/share/vagrant-plugins/plugins.d/vagrant-libvirt.json file?

      IRJI 1 Reply Last reply Reply Quote 0
      • IRJI
        IRJ @stacksofplates
        last edited by

        @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":[]
          }
        }
        
        
        1 1 Reply Last reply Reply Quote 0
        • stacksofplatesS
          stacksofplates
          last edited by

          what if you do a vagrant plugin list

          IRJI 1 Reply Last reply Reply Quote 0
          • IRJI
            IRJ @stacksofplates
            last edited by

            @stacksofplates said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:

            vagrant plugin list

            No plugins installed.

            stacksofplatesS 1 Reply Last reply Reply Quote 0
            • stacksofplatesS
              stacksofplates @IRJ
              last edited by

              @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?

              IRJI 1 Reply Last reply Reply Quote 0
              • IRJI
                IRJ @stacksofplates
                last edited by

                @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
                
                1 Reply Last reply Reply Quote 0
                • IRJI
                  IRJ
                  last edited by

                  So no plugins directory

                  1 Reply Last reply Reply Quote 0
                  • IRJI
                    IRJ
                    last edited by

                    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.
                    
                    stacksofplatesS 1 Reply Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates @IRJ
                      last edited by

                      @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?

                      IRJI 1 Reply Last reply Reply Quote 0
                      • 1
                        1337 @IRJ
                        last edited by 1337

                        @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.

                        IRJI 1 Reply Last reply Reply Quote 0
                        • IRJI
                          IRJ @1337
                          last edited by

                          @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

                          1 Reply Last reply Reply Quote 0
                          • IRJI
                            IRJ @stacksofplates
                            last edited by

                            @stacksofplates said in Issues installing vagrant-libvirt plugin on Ubuntu 20.04:

                            apt --reinstall vagrant-libvirt

                            Reinstall supposedly worked, but still not seeing plugin

                            1 Reply Last reply Reply Quote 0
                            • IRJI
                              IRJ
                              last edited by

                              Got it working. Apparently I missed this step

                              apt-get install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev

                              1 stacksofplatesS 2 Replies Last reply Reply Quote 1
                              • 1
                                1337 @IRJ
                                last edited by 1337

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • stacksofplatesS
                                  stacksofplates @IRJ
                                  last edited by

                                  @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.

                                  1 Reply Last reply Reply Quote 0
                                  • IRJI
                                    IRJ
                                    last edited by

                                    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.
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • 1
                                    • 2
                                    • 1 / 2
                                    • First post
                                      Last post