VirtualBox plugin doesn't install - unmet dependencies

  • Hi,


    I've problems to install VirtualBox on freshly installed OMV4. I get the following error message:


    Bash
    The following packages have unmet dependencies: openmediavault-virtualbox : 
    Depends: virtualbox-ext-pack-installer but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.


    I cannot install virtualbox-ext-pack-installer by apt because it misses VirtualBox 5.2.10 or above. Available version in repositories is 5.2.8...


    Is there a solution to get this fixed?

    • Offizieller Beitrag

    What is the output of clicking the apt clean button in omv-extras?

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • Had same issue with Version 3 with headers and manually had to install these via ssh.
    basically i download the headers manually after obtaining my running version using uname -r



    added the following to /etc/apt/source.list


    deb http://security.debian.org/debian-security stretch/updates main
    deb http://ftp.de.debian.org/debian jessie-backports main


    apt-get-update


    went to https://packages.debian.org/je…ports/linux-headers-amd64 download all headers and dependences
    manually installed the following after downloading using dpkg -i


    linux-compiler-gcc-4.9-x86_4.9.88-1+deb9u1~bpo8+1_amd64.deb linux-headers-4.9.0-0.bpo.6-common_4.9.88-1+deb9u1~bpo8+1_all.deb
    linux-headers-4.9.0-0.bpo.6-amd64_4.9.88-1+deb9u1~bpo8+1_amd64.deb linux-kbuild-4.9_4.9.88-1+deb9u1~bpo8+1_amd64.deb



    and the installed the plugin and it worked


    This is a snip of the output which includes the file you mentioned


    Unpacking phpvirtualbox (5.0-5-2) ...
    Selecting previously unselected package virtualbox-ext-pack-installer.
    Preparing to unpack .../virtualbox-ext-pack-installer_5.1.14_all.deb ...
    Unpacking virtualbox-ext-pack-installer (5.1.14) ...
    Selecting previously unselected package openmediavault-virtualbox.
    Preparing to unpack .../openmediavault-virtualbox_3.0.8_all.deb ...
    Unpacking openmediavault-virtualbox (3.0.8) ...
    Processing triggers for man-db (2.7.0.2-5) ...

    • Offizieller Beitrag

    That looks good and all of the right repos are enabled. What is the output of: apt-cache policy virtualbox-ext-pack-installer virtualbox openmediavault-virtualbox

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • Now I think it has to do with the wrong version of VirtualBox. There exists 5.2.8 but ext-pack-installer is 5.2.10


    I'd installes ext-pack-installer 5.2.8 and now all installs.


    Why we have no 5.2.10 of VirtualBox on Bintray?

  • Hello,


    i've had the same problem.


    Add the package list to /etc/apt/sources.list , like


    Code
    deb https://download.virtualbox.org/virtualbox/debian <mydist> contrib

    and the key


    Code
    wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

    After that made a update and upgrade and you can install

    Code
    apt install openmediavault-virtualbox
    • Offizieller Beitrag

    Why we have no 5.2.10 of VirtualBox on Bintray?

    Because it is in the debian stretch backports repo. You must not have the contrib repo enabled. What is the output of: cat /etc/apt/sources.list

    Add the package list to /etc/apt/sources.list , like

    NO NO NO!!! There is a reason we stopped using the packages provided from the virtualbox repo. And this won't work since the plugin wants a package named 'virtualbox' not 'virtualbox-5.2'.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • Because it is in the debian stretch backports repo. You must not have the contrib repo enabled. What is the output of: cat /etc/apt/sources.list

    • Offizieller Beitrag

    While your backports line should be in /etc/apt/sources.list.d/openmediavault-kernel-backports.list, you need to contrib and non-free to your backports line. Make the following line:
    deb http://ftp.de.debian.org/debian/ stretch-backports main
    look like:
    deb http://ftp.de.debian.org/debian/ stretch-backports main non-free contrib

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • Great!


    I killed the line out of sources.plist and generated the file openmediavault-kernel-backports.list in sources.d


    After apt-get update/upgrade I'm on 5.2.10


    Why these file doesn't exist in standard?

    • Offizieller Beitrag

    Why these file doesn't exist in standard?

    As long as backports isn't disabled (OMV_APT_USE_KERNEL_BACKPORTS="NO") in /etc/default/openmediavault, omv-mkconf apt should generate the file.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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 all
    after upgrading to the lastest omv, i cant install Virtualbox. Either using GUI ou SSH



    • Offizieller Beitrag

    after upgrading to the lastest omv, i cant install Virtualbox. Either using GUI ou SSH

    Did you follow the tips in this thread? backports needs to be enabled.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!