Gostaria de instalar o virtualbox para usar o genymotion. Baixei o pacote .deb. Recebo esse erro quando executo o comando sudo apt install ./virtualbox
.
The following packages contain unmet dependencies:
virtualbox-7.0: Dependency: libc6 (>= 2.34) but 2.27-3ubuntu1.6 will have to be installed
Dependency: libgcc-s1 (>= 3.0) but it is not installable
Depends: libqt5core5a (>= 5.15.1) but 5.9.5+dfsg-0ubuntu2.6 should be installed
Dependent: libqt5dbus5 (>= 5.14.1) but 5.9.5+dfsg-0ubuntu2.6 should be installed
Dependent: libqt5gui5 (>= 5.14.1) but 5.9.5+dfsg-0ubuntu2.6 should be installed or
libqt5gui5-gles (>= 5.14.1) but it is not installable
Dependent: libqt5help5 (>= 5.15.1) but 5.9.5-0ubuntu1 should be installed
Dependent: libqt5widgets5 (>= 5.15.1) but 5.9.5+dfsg-0ubuntu2.6 will have to be installed
Depends: libssl3 (>= 3.0.0~~alpha1) but it is not installable
Depends: libstdc++6 (>= 12) but 8.4.0-1ubuntu1~18.04 will have to be installed
Depends: libvpx7 (>= 1.10.0) but it is not installable
Recommended: libsdl-ttf2.0-0 but will not be installed
Recommended: linux-image
E: Unable to fix problems, faulty packages are in "keep as is" mode.
Eu sou novo no Linux. Minha versão do Ubuntu é 18.04.
Responder1
Eu encontrei uma solução.
Primeiro executei estes comandos:
sudo apt remove virtualbox
sudo apt autoremove
Então reiniciei minha máquina e digitei:
sudo apt install virtualbox
Responder2
execute este comando
sudo apt --fix-broken install
Depois de instalar sua instância do virtualbox