데비안 9의 가상 상자 6.0

데비안 9의 가상 상자 6.0

나는 팔로우하고 있다이 튜토리얼데비안에 가상 박스를 설치하기 위한 것이지만

# apt-get install virtualbox-6.0
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.0 : Depends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
                  Depends: libqt5printsupport5 (>= 5.0.2) but it is not going to be installed
                  Recommends: linux-image but it is not installable
E: Unable to correct problems, you have held broken packages.

libqt5opengl5에는 qtbase-abi-5-7-1이 필요한 것 같습니다...

# apt-get install libqt5opengl5
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:
 libqt5opengl5 : Depends: qtbase-abi-5-7-1

qtbase-abi-5-7-1은 libqt5core5a에서 제공됩니다.

하지만 나는 이미 libqt5core5a를 가지고 있습니다:

# apt-get install libqt5core5a
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libqt5core5a is already the newest version (5.11.3+dfsg-2).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

어떤 단서라도?

답변1

virtual-box 5.0은 종속성 문제 없이 작동합니다!

# apt-get install virtualbox-5.0 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libqt4-dbus libqt4-opengl libqt4-xml libqtcore4 libqtdbus4 libqtgui4 libsdl-ttf2.0-0 qdbus qt-at-spi qtchooser qtcore4-l10n
Suggested packages:
  qt4-qtconfig
Recommended packages:
  linux-headers
The following NEW packages will be installed:
  libqt4-dbus libqt4-opengl libqt4-xml libqtcore4 libqtdbus4 libqtgui4 libsdl-ttf2.0-0 qdbus qt-at-spi qtchooser qtcore4-l10n virtualbox-5.0
0 upgraded, 12 newly installed, 0 to remove and 3 not upgraded.
Need to get 64.5 MB/71.8 MB of archives.
After this operation, 192 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian stretch/main amd64 libsdl-ttf2.0-0 amd64 2.0.11-3+b1 [18.6 kB]
Get:2 http://download.virtualbox.org/virtualbox/debian stretch/contrib amd64 virtualbox-5.0 amd64 5.0.40-115130~Debian~stretch [64.4 MB]
Fetched 64.5 MB in 53s (1,218 kB/s)  
.........

답변2

나의 첫 번째 호출 포트는 apt-get이 충족되지 않은 종속성을 찾아 sudo apt-get -f install.

더 많은 정보가 있습니다여기이 문제의 원인과 잠재적인 해결 방법에 대해 알아보세요. 그들은 링크에서 이 -f install옵션이 가장 간단하고 시도해 볼 수 있는 가장 좋은 옵션이라고 말한 다음 더 자세히 설명합니다.

관련 정보