cannot install kvm-plugin

  • Hello,


    I fail installing the KVM Plugin (I think this is the recommended way for virtualization in OMV6, right?).

    On the webinterface, the Error-Message disappears to quickly.

    On the commandline, I get:

    What am I doing wrong?


    I did an apt-get dist-upbrade before, which worked.


    Best regards,

    HEndrik

  • Well this may be a topic better answered by ryecoaaron since he is the one that makes and maintains the omv-extras, but the end of your output says there are unmet dependencies.


    Your systemd seems to be wanting to install a newer version from backports than libnss-systemd wants. Do you have backports enabled?


    I know Aaron has been doing a fair bit of work on the kvm plugin recently and I think backports is required for it, so he is the one to ask really.

    • Offizieller Beitrag

    This problem has happened before but no one sticks around long enough to figure out the exact fix. It is a dependency problem and order of install issue. Sadly, I could fix this in a matter of minutes if I was logged in but it will take a bunch of back and forth to fix it.


    To start, what is the output of:


    sudo apt-get install policykit-1=0.105-31+deb11u1

    dpkg -l | grep qemu

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Not sure I'm having the same problem as everyone else... but I'm your Huckleberry.. :). This is an up to date 6.1.4-1 OMV install, with really nothing on it. Backports is not enabled.


    No output on the dpkg command... before or after installing the libpolkit package

    After installing libpolkit, I get the same error, which seems to suggest the swmtp-tools package is the issue... So I enabled backports and installed that package...



    After that, I installed openmediavault-kvm and it seems to be working.


    dpkg now shows an output for qemu of course...


    If you need more help with it/more info, let me know. I can even nuke the virtual machine and do it again if you need me to.

  • I will stick around to figure out the exact fix :)


    Here we go:


    Best regards,

    Hendrik

    • Offizieller Beitrag

    That's weird.. are you on OMV 6? That package installed for me no problem before I enabled backports

    • Offizieller Beitrag

    apt-cache policy policykit-1

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hello,


    Code
    policykit-1:
      Installiert:           (keine)
      Installationskandidat: 0.105-31+deb11u1
      Versionstabelle:
         0.105-31+deb11u1 500
            500 http://ftp.halifax.rwth-aachen.de/debian bullseye/main amd64 Packages
            500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
            100 /var/lib/dpkg/status

    Best regards,

    Hendrik

    • Offizieller Beitrag

    That is correct. You must have something going on with systemd:

    dpkg -l | grep -E "dbus|systemd"

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    There is the problem. You have systemd installed from backports. I can't tell you why especially since only a few packages are pinned from backports even when it is enabled. You can try to downgrade but I won't promise it will go well. I don't have a system to test it on but I would imagine something like this would do it:

    Code
    sudo apt-get install libnss-systemd=247.3-7+deb11u1 libpam-systemd=247.3-7+deb11u1 \
      libsystemd0=247.3-7+deb11u1 systemd=247.3-7+deb11u1 systemd-container=247.3-7+deb11u1 \
      systemd-sysv=247.3-7+deb11u1

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Good to hear.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I have just setup OMV on an Intel NUC, and I cant install the KVM plugin :(


    I have tried the commans above, but it wont help me :( ?

    • Offizieller Beitrag

    I have just setup OMV on an Intel NUC, and I cant install the KVM plugin

    Did you use the OMV iso to install?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Do you get the same issue installing from the web interface? I guess I need to setup a fresh system to see if something in Debian backports changed.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!