VirtualBox plugin doesn't install - unmet dependencies

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • VirtualBox plugin doesn't install - unmet dependencies

      Hi,

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

      Shell-Script

      1. The following packages have unmet dependencies: openmediavault-virtualbox :
      2. Depends: virtualbox-ext-pack-installer but it is not going to be installed
      3. 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?
    • nexusle wrote:

      Hi,

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

      Shell-Script

      1. The following packages have unmet dependencies: openmediavault-virtualbox :
      2. Depends: virtualbox-ext-pack-installer but it is not going to be installed
      3. 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?
      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 security.debian.org/debian-security stretch/updates main
      deb ftp.de.debian.org/debian jessie-backports main

      apt-get-update

      went to packages.debian.org/jessie-backports/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) ...
    • 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 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Source Code

      1. virtualbox-ext-pack-installer:
      2. Installiert: (keine)
      3. Installationskandidat: 5.2.10
      4. Versionstabelle:
      5. 5.2.10 500
      6. 500 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch/main amd64 Packages
      7. 5.2.8 500
      8. 500 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch/main amd64 Packages
      9. 5.1.30 500
      10. 500 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch/main amd64 Packages
      11. 5.1.26 500
      12. 500 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch/main amd64 Packages
      13. virtualbox:
      14. Installiert: (keine)
      15. Installationskandidat: 5.2.8-dfsg-5
      16. Versionstabelle:
      17. 5.2.8-dfsg-5 500
      18. 500 https://dl.bintray.com/openmediavault-plugin-developers/arrakis-testing stretch/main amd64 Packages
      19. 100 /var/lib/dpkg/status
      20. openmediavault-virtualbox:
      21. Installiert: (keine)
      22. Installationskandidat: 4.1
      23. Versionstabelle:
      24. 4.1 500
      25. 500 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch/main amd64 Packages
      26. 500 https://dl.bintray.com/openmediavault-plugin-developers/arrakis-testing stretch/main amd64 Packages
      27. 4.0 500
      28. 500 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch/main amd64 Packages
      29. 500 https://dl.bintray.com/openmediavault-plugin-developers/arrakis-testing stretch/main amd64 Packages
      Display All
    • Hello,

      i've had the same problem.

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

      Source Code

      1. deb https://download.virtualbox.org/virtualbox/debian <mydist> contrib
      and the key

      Source Code

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

      Source Code

      1. apt install openmediavault-virtualbox
    • nexusle wrote:

      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

      Ruebe1974 wrote:

      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 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      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

      Source Code

      1. cat /etc/apt/sources.list
      2. #
      3. # deb cdrom:[Debian GNU/Linux 9 _Stretch_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180330-19:01]/ stretch contrib main non-free
      4. #deb cdrom:[Debian GNU/Linux 9 _Stretch_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180330-19:01]/ stretch contrib main non-free
      5. deb http://ftp.de.debian.org/debian/ stretch main non-free contrib
      6. deb-src http://ftp.de.debian.org/debian/ stretch main non-free contrib
      7. deb http://security.debian.org/debian-security stretch/updates main contrib non-free
      8. deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
      9. # stretch-updates, previously known as 'volatile'
      10. deb http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free
      11. deb-src http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free
      12. deb http://ftp.de.debian.org/debian/ stretch-backports main
      Display All
    • 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 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • nexusle wrote:

      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 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      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


      Source Code

      1. ~# apt install openmediavault-virtualbox
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Some packages could not be installed. This may mean that you have
      6. requested an impossible situation or if you are using the unstable
      7. distribution that some required packages have not yet been created
      8. or been moved out of Incoming.
      9. The following information may help to resolve the situation:
      10. The following packages have unmet dependencies:
      11. openmediavault-virtualbox : Depends: phpvirtualbox but it is not going to be installed
      12. Depends: virtualbox but it is not going to be installed
      13. Depends: virtualbox-ext-pack but it is not installable or
      14. virtualbox-ext-pack-installer but it is not going to be installed
      15. E: Unable to correct problems, you have held broken packages.
      Display All

      The post was edited 1 time, last by xtrumph ().

    • xtrumph wrote:

      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 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!