Unable to install openmediavault-virtualbox

    • OMV 3.x
    • Resolved

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

    • Unable to install openmediavault-virtualbox

      Finally I decided to upgrade my OMV2 setup to OMV3. After omv-relase-upgrade and a few hiccups, my system is up, but I'm unable to install openmediavault-virtualbox. I'm running backports kernel (4.7.8-1~bpo8+1) and openmediavault-omvextrasorg 3.4.9 is installed.


      Source Code

      1. #apt-get 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-ext-pack but it is not installable or
      13. virtualbox-ext-pack-installer but it is not going to be installed
      14. E: Unable to correct problems, you have held broken packages.
      15. #apt-cache policy virtualbox*
      16. virtualbox-modules:
      17. Installed: (none)
      18. Candidate: (none)
      19. Version table:
      20. openmediavault-virtualbox:
      21. Installed: (none)
      22. Candidate: 3.0.6
      23. Version table:
      24. 3.0.6 0
      25. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      26. 3.0.5 0
      27. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      28. 3.0.4 0
      29. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      30. 3.0.2 0
      31. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      32. 3.0.1 0
      33. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      34. 3.0 0
      35. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      36. virtualbox-3.0:
      37. Installed: (none)
      38. Candidate: (none)
      39. Version table:
      40. virtualbox-3.1:
      41. Installed: (none)
      42. Candidate: (none)
      43. Version table:
      44. virtualbox-3.2:
      45. Installed: (none)
      46. Candidate: (none)
      47. Version table:
      48. virtualbox:
      49. Installed: (none)
      50. Candidate: 4.3.36-dfsg-1+deb8u1
      51. Package pin: (not found)
      52. Version table:
      53. 4.3.36-dfsg-1+deb8u1 500
      54. 500 http://ftp.debian.org/debian/ jessie/contrib amd64 Packages
      55. 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
      56. virtualbox-guest-modules:
      57. Installed: (none)
      58. Candidate: (none)
      59. Version table:
      60. virtualbox-ext-pack-installer:
      61. Installed: (none)
      62. Candidate: 5.1.8
      63. Version table:
      64. 5.1.8 0
      65. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      66. 5.0.16 0
      67. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      68. 5.0.14 0
      69. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      70. 5.0.12 0
      71. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      72. virtualbox-2.0:
      73. Installed: (none)
      74. Candidate: (none)
      75. Version table:
      76. virtualbox-2.1:
      77. Installed: (none)
      78. Candidate: (none)
      79. Version table:
      80. virtualbox-2.2:
      81. Installed: (none)
      82. Candidate: (none)
      83. Version table:
      84. virtualbox-guest-source:
      85. Installed: (none)
      86. Candidate: 4.3.36-dfsg-1+deb8u1
      87. Version table:
      88. 4.3.36-dfsg-1+deb8u1 0
      89. 500 http://ftp.debian.org/debian/ jessie/contrib amd64 Packages
      90. 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
      91. virtualbox-guest-dkms:
      92. Installed: (none)
      93. Candidate: 4.3.36-dfsg-1+deb8u1
      94. Version table:
      95. 4.3.36-dfsg-1+deb8u1 0
      96. 500 http://ftp.debian.org/debian/ jessie/contrib amd64 Packages
      97. 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
      98. virtualbox-dbg:
      99. Installed: (none)
      100. Candidate: 4.3.36-dfsg-1+deb8u1
      101. Version table:
      102. 4.3.36-dfsg-1+deb8u1 0
      103. 500 http://ftp.debian.org/debian/ jessie/contrib amd64 Packages
      104. 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
      105. virtualbox-dkms:
      106. Installed: (none)
      107. Candidate: 4.3.36-dfsg-1+deb8u1
      108. Package pin: (not found)
      109. Version table:
      110. 4.3.36-dfsg-1+deb8u1 500
      111. 500 http://ftp.debian.org/debian/ jessie/contrib amd64 Packages
      112. 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
      113. virtualbox-guest-x11:
      114. Installed: (none)
      115. Candidate: 4.3.36-dfsg-1+deb8u1
      116. Version table:
      117. 4.3.36-dfsg-1+deb8u1 0
      118. 500 http://ftp.debian.org/debian/ jessie/contrib amd64 Packages
      119. 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
      120. virtualbox-ext-pack:
      121. Installed: (none)
      122. Candidate: (none)
      123. Version table:
      124. virtualbox-ose:
      125. Installed: (none)
      126. Candidate: (none)
      127. Version table:
      128. virtualbox-guest-additions-iso:
      129. Installed: (none)
      130. Candidate: 4.3.18-3
      131. Version table:
      132. 4.3.18-3 0
      133. 500 http://ftp.debian.org/debian/ jessie/non-free amd64 Packages
      134. virtualbox-qt:
      135. Installed: (none)
      136. Candidate: 4.3.36-dfsg-1+deb8u1
      137. Package pin: (not found)
      138. Version table:
      139. 4.3.36-dfsg-1+deb8u1 500
      140. 500 http://ftp.debian.org/debian/ jessie/contrib amd64 Packages
      141. 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
      142. phpvirtualbox:
      143. Installed: (none)
      144. Candidate: 5.0-5-2
      145. Version table:
      146. 5.0-5-2 0
      147. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      148. 5.0-5-1 0
      149. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      150. 5.0-3 0
      151. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      152. virtualbox-guest-additions:
      153. Installed: (none)
      154. Candidate: (none)
      155. Version table:
      156. virtualbox-5.0:
      157. Installed: (none)
      158. Candidate: 5.0.30-112061~Debian~jessie
      159. Version table:
      160. 5.0.30-112061~Debian~jessie 0
      161. 500 http://download.virtualbox.org/virtualbox/debian/ jessie/contrib amd64 Packages
      162. virtualbox-5.1:
      163. Installed: (none)
      164. Candidate: 5.1.10-112026~Debian~jessie
      165. Version table:
      166. 5.1.10-112026~Debian~jessie 0
      167. 500 http://download.virtualbox.org/virtualbox/debian/ jessie/contrib amd64 Packages
      168. virtualbox-extpack-installer:
      169. Installed: (none)
      170. Candidate: 5.0.10
      171. Version table:
      172. 5.0.10 0
      173. 500 https://dl.bintray.com/openmediavault-plugin-developers/erasmus/ jessie/main amd64 Packages
      174. virtualbox-4.0:
      175. Installed: (none)
      176. Candidate: (none)
      177. Version table:
      178. virtualbox-4.1:
      179. Installed: (none)
      180. Candidate: (none)
      181. Version table:
      182. virtualbox-4.2:
      183. Installed: (none)
      184. Candidate: (none)
      185. Version table:
      186. virtualbox-4.3:
      187. Installed: (none)
      188. Candidate: 4.3.40-110317~Debian~wheezy
      189. Version table:
      190. 4.3.40-110317~Debian~wheezy 0
      191. 500 http://download.virtualbox.org/virtualbox/debian/ jessie/contrib amd64 Packages
      192. virtualbox-source:
      193. Installed: (none)
      194. Candidate: 4.3.36-dfsg-1+deb8u1
      195. Version table:
      196. 4.3.36-dfsg-1+deb8u1 0
      197. 500 http://ftp.debian.org/debian/ jessie/contrib amd64 Packages
      198. 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
      199. virtualbox-guest-utils:
      200. Installed: (none)
      201. Candidate: 4.3.36-dfsg-1+deb8u1
      202. Version table:
      203. 4.3.36-dfsg-1+deb8u1 0
      204. 500 http://ftp.debian.org/debian/ jessie/contrib amd64 Packages
      205. 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
      Display All
      Any help is really appreciated.
      OMV 3.0 (amd64) @ HP Microserver gen8 | Intel Xeon E1265L-V2 | 16 GB ECC RAM | 1 x 256GB Crucial M4 | 4 x 3 TB WD Red in RAID5
    • You must have a virtualbox repo in /etc/apt/sources.list.d/ and/or the backports repo is not enabled.

      What is the output of: grep -E "backport|virtual" /etc/apt/sources.list.d/*
      omv 4.1.14 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. #grep -E "backport|virtual" /etc/apt/sources.list.d/*
      2. /etc/apt/sources.list.d/omv-extras-org.list:deb http://httpredir.debian.org/debian jessie-backports main contrib
      3. /etc/apt/sources.list.d/virtualbox.list:deb http://download.virtualbox.org/virtualbox/debian jessie contrib
      OMV 3.0 (amd64) @ HP Microserver gen8 | Intel Xeon E1265L-V2 | 16 GB ECC RAM | 1 x 256GB Crucial M4 | 4 x 3 TB WD Red in RAID5
    • /etc/apt/sources.list.d/virtualbox.list is your problem. Remove it and try again.

      rm -f /etc/apt/sources.list.d/virtualbox.list
      apt-get update
      omv 4.1.14 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, I'm having the exact issue described above (OMV 3.0.57) .

      I've found no virtualbox.list file

      The installation at home is a fresh install of 3.0.30, restored config.xml from a backup (pendrive crashed)
      Installed virtualbox again, working properly, upgraded to 3.0.56, and everything was working properly
      Then a power outage and virtualbox vms won't start due to error exit code 1.
      Uninstalled and installed again from vb5_install.sh and it failed on openmediavault-virtualbox package due to missing openmediavault user.
      Now I cannot install the plugin again from the plugins tab with the error described above.

      I Know it's a little bit of a mess, but I would like to know where should I head to install virtualbox again.

      Thanks!!
    • sebasb wrote:

      Uninstalled and installed again from vb5_install.sh and it failed on openmediavault-virtualbox package due to missing openmediavault user.
      This script is only for OMV 2.x.


      sebasb wrote:

      I Know it's a little bit of a mess, but I would like to know where should I head to install virtualbox again.
      You are lucky that restoring the config.xml worked. One small change could cause big problems. What is the output of: dpkg -l | grep -E "openm|virtual"
      omv 4.1.14 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!
    • Thanks, didn't know about the script:

      The output is:
      +

      Shell-Script

      1. ii openmediavault 3.0.57 all Open network attached storage solution
      2. ii openmediavault-apttool 3.3 all apt tool plugin for OpenMediaVault.
      3. ii openmediavault-backup 3.3.5 all backup plugin for OpenMediaVault.
      4. ii openmediavault-couchpotato 3.2.2 all OpenMediaVault CouchPotatoServer plugin
      5. ii openmediavault-deluge 3.2 all OpenMediaVault Deluged plugin
      6. ii openmediavault-docker-gui 3.1.3 amd64 OpenMediaVault plugin for Docker
      7. ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
      8. ii openmediavault-ldap 3.1.3 all OpenMediaVault Lightweight Directory Access Protocol (LDAP) plugin
      9. ii openmediavault-locate 3.3 all locate plugin for OpenMediaVault.
      10. ii openmediavault-mysql 3.0.4 all MySQL plugin for OpenMediaVault.
      11. ii openmediavault-nginx 3.0.9 all Nginx plugin for OpenMediaVault.
      12. ii openmediavault-omvextrasorg 3.4.11 all OMV-Extras.org Package Repositories for OpenMediaVault
      13. ii openmediavault-plexmediaserver 3.7 all OpenMediaVault Plex Media Server plugin
      14. ii openmediavault-remotemount 3.0.2 all Remote mount plugin for OpenMediaVault.
      15. ii openmediavault-sensors 3.0 all Provides a cpu temperature monitor
      16. ii openmediavault-shellinabox 3.4 all Web-based SSH client.
      17. ii openmediavault-sickbeard 3.2.1 all OpenMediaVault Sick Beard plugin
      18. ii openmediavault-transmissionbt 3.0.9 all OpenMediaVault Transmission (BitTorrent client) plugin.
      19. ii proftpd-basic 1.3.5-1.1+deb8u1 amd64 Versatile, virtual-hosting FTP daemon - binaries
      20. ic virtualbox 5.1.8-dfsg-6~bpo8+2 amd64 x86 virtualization solution - base binaries
      Display All
      Don't know if it helps. somehow I cannot reinstall backports kernel (just checking if there was a problem with that)

      root@one:~# omv-mkconf omvextras installbackports
      Install backports 4.7.0-0.bpo.1 kernel and headers
      Reading package lists... Done
      E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources

      The post was edited 2 times, last by sebasb ().

    • Here it is

      grep -ir backports /etc/apt/*

      /etc/apt/apt.conf.d/01autoremove-kernels: "^linux-backports-modules-.*-3\.16\.0-4-amd64$";
      /etc/apt/apt.conf.d/01autoremove-kernels: "^linux-backports-modules-.*-4\.7\.0-0\.bpo\.1-amd64$";
      /etc/apt/apt.conf.d/01autoremove: "linux-backports-modules-.*";
      /etc/apt/preferences.d/99omv-extras-org:Pin: release n=erasmus-backports, origin dl.bintray.com
      /etc/apt/preferences.d/99omv-extras-org:Pin: release a=jessie-backports
    • You don't have the backports repo enabled in omv-extras. Enable it and upgrade to the latest omv-extras as well. The 4.8 kernel just came out meaning the 4.7 kernel is pulled. The latest omv-extras is updated to install the 4.8 kernel.
      omv 4.1.14 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!
    • I have omv-extras and omv-extras testing enabled. did the latest upgrade of the omv-extras 3.4.12 and still fails

      root@one:~# omv-mkconf omvextras installbackports
      Install backports 4.8.0-0.bpo.2 kernel and headers
      Reading package lists... Done
      E: The value 'jessie-backports' is invalid for APT::Default-Release as such a release is not available in the sources


      root@one:~# grep -ir backports /etc/apt/*
      /etc/apt/apt.conf.d/01autoremove-kernels: "^linux-backports-modules-.*-4\.7\.0-0\.bpo\.1-amd64$";
      /etc/apt/apt.conf.d/01autoremove: "linux-backports-modules-.*";
      /etc/apt/preferences.d/99omv-extras-org:Pin: release n=erasmus-backports, origin dl.bintray.com
      /etc/apt/preferences.d/99omv-extras-org:Pin: release a=jessie-backports
      /etc/apt/sources.list.d/omv-extras-org.list:# Debian Backports
      /etc/apt/sources.list.d/omv-extras-org.list:deb http://httpredir.debian.org/debian jessie-backports main contrib

      PS: I have no problems on resetting something if you think so.

      The post was edited 3 times, last by sebasb ().

    • very strange, I have just boot up my test VM setup
      and had run all updates and upgrades with no issues
      even installed the new 4.8 backport over 4.7
      rebooting as I type this.
      omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
      SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
      PSU: Silencer 760 Watt ATX Power Supply
      IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
      OS on 2×120 SSD in RAID-1 |
      DATA: 3x3T| 4x2T | 2x1T
    • I didn't have any problems on three systems either. This usually happens when something on the system is messed up or another conflicting repo has been added.
      omv 4.1.14 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!
    • Ok, now on kernel 4.8, removed 4.7 to avoid errors building vbox modules but I cannot login to phpvirtualbox nor list the running vms in the UI

      I get the following error if I install openmediavault-virtualbox from the console:

      Selecting previously unselected package openmediavault-virtualbox.
      (Reading database ... 108220 files and directories currently installed.)
      Preparing to unpack .../openmediavault-virtualbox_3.0.6_all.deb ...
      Unpacking openmediavault-virtualbox (3.0.6) ...
      Processing triggers for openmediavault (3.0.57) ...
      Restarting engine daemon ...
      Setting up openmediavault-virtualbox (3.0.6) ...
      vbox:x:997:123::/var/lib/vbox:/bin/sh
      chown: cannot access ‘/etc/default/openmediavault-virtualbox’: No such file or directory
      dpkg: error processing package openmediavault-virtualbox (--configure):
      subprocess installed post-installation script returned error exit status 1
      Processing triggers for openmediavault (3.0.57) ...
      Restarting engine daemon ...
      Errors were encountered while processing:
      openmediavault-virtualbox
      Creating index of upgradeable packages ...
      Creating index of openmediavault plugins ...
      E: Sub-process /usr/bin/dpkg returned an error code (1)
    • Uninstall the plugin and virtualbox
      delete the vbox user
      delete /etc/default/openmediavault-virtualbox and /etc/default/virtualbox
      Reboot
      Reinstall
      omv 4.1.14 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!

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

    • Thanks for your help!!!!!, I did leave in place /etc/default/openmediavault, otherwise console access broke and even an apt-get install --reinstall openmediavault wouldn't solve it

      After installation, enabled the service but it did not allowed vms to start, a modprobe vboxdrv and modprobe vboxnetflt did the trick.

      I rebooted and vboxnetflt won't load on startup and vms wont start. a modprobe vboxnetflt allows vms to start, I'm looking into how to make it load on startup.


      Update: Edited /etc/default/virtualbox, added LOAD_VBOXDRV_MODULE=1 and now it's working everything as expected
      Thanks again everyone for the help, the patience and the assistance, and also the knowledge I've got during this troubleshooting from your tips.

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

    • Sorry /etc/default/openmediavault was a typo. I meant /etc/default/virtualbox. Glad it works.
      omv 4.1.14 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!