Me gustaría instalar virtualbox para usar genymotion. Descargué el paquete .deb. Recibo este error cuando ejecuto el 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.
Soy nuevo en Linux. Mi versión de Ubuntu es 18.04.
Respuesta1
Encontré una solución.
Primero ejecuté estos comandos:
sudo apt remove virtualbox
sudo apt autoremove
Luego reinicié mi máquina y entré:
sudo apt install virtualbox
Respuesta2
ejecutar este comando
sudo apt --fix-broken install
Después de instalar su instancia de virtualbox