Can't install openmediavault-virtualbox

    • Yes those are all like that, see this however:

      Source Code

      1. root@omvnas:/etc/apt/preferences.d# apt install 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. virtualbox : Depends: python3 (>= 3.6~) but 3.5.3-1 is to be installed
      12. Depends: python3.6 but it is not going to be installed
      13. Depends: libpython3.6 (>= 3.6.5) but it is not going to be installed
      14. E: Unable to correct problems, you have held broken packages.
      15. root@omvnas:/etc/apt/preferences.d#
      Display All
      It requires python3.6 for me, but it can't be install, however you don't have python3.6 also - but it's working for you :)
      Can you attach this file -> /etc/apt/preferences.d/omv-extras-org
    • Ok finally made it to work, here's what was wrong:

      Source Code

      1. root@omvnas:~# apt-cache policy virtualbox
      2. virtualbox:
      3. Installed: (none)
      4. Candidate: 5.2.18-dfsg-2
      5. Version table:
      6. 5.2.18-dfsg-2 500
      7. 500 testing/contrib amd64 Packages
      8. 5.2.18-dfsg-1~bpo9+1 500
      9. 100 stretch-backports/contrib amd64 Packages
      as you can see - the first version it's trying to install is from testing, what? testing - I don't remember enabling it - and they I remembered - I installed restic a few months back and had enabled it for a bit just to install the latest version of restic, after that I must have forgotten to disable it. So all this time it was trying to install virtualbox from testing instead of backports. Anyway - disabled testing repo `/etc/apt/sources.list.d/testing.list`, apt-get install and behold it works. :) Thanks a lot to all for your help, as expected the issue was in me :)
    • Users Online 1

      1 Guest