genymotion을 사용하기 위해 virtualbox를 설치하고 싶습니다. .deb 패키지를 다운로드했습니다. 명령을 실행할 때 이 오류가 발생합니다 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.
저는 Linux를 처음 사용합니다. 내 우분투 버전은 18.04입니다.
답변1
해결책을 찾았습니다.
먼저 다음 명령을 실행했습니다.
sudo apt remove virtualbox
sudo apt autoremove
그런 다음 컴퓨터를 재부팅하고 다음을 입력했습니다.
sudo apt install virtualbox
답변2
이 명령을 실행
sudo apt --fix-broken install
virtualbox 인스턴스를 설치한 후