Page 1 of 1

Dependency issue while installing virtualbox-6.1 (ubuntu 18.04.4 lts)

Posted: 13. Jul 2020, 21:06
by zomgomg
I try to install virtualbox 6.1 in my ubuntu 18.04.4 LTS (bionic beaver) inside the terminal (headless system).

Code: Select all

  user@ubuntu:~$ sudo apt install virtualbox-6.1
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     virtualbox-6.1 : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.2 is to be installed
                      Depends: libqt5core5a (>= 5.12.2) but 5.9.5+dfsg-0ubuntu2.5 is to be installed
                      Depends: libqt5widgets5 (>= 5.12.2) but 5.9.5+dfsg-0ubuntu2.5 is to be installed
                      Depends: libvpx6 (>= 1.6.0) but it is not installable
                      Recommends: libsdl-ttf2.0-0 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
I tried apt-get install -f but no success:

Code: Select all

    user@ubuntu:~$ sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
My /etc/apt/sources.list.d/virtualbox.list:

Code: Select all

    deb [arch=amd64] downloadvirtualboxorg virtualbox/debian bionic contrib
* downloadvirtualboxorg is the correct link. i cant post links because of the forum rules, sooo~