Debian 10.5 に仮想ボックスをインストールしようとしたときに満たされていない依存関係に関するエラーメッセージが表示されます。複数の解決策を試しましたが、何の効果もありませんでした。どんなアイデアでも大いに感謝します。
コマンドと出力は次のとおりです。
sudo apt-get install virtualbox linux-headers-$(dpkg --print-architecture)
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 : Depends: python3 (>= 3.8~) but 3.7.3-1 is to be installed
Depends: python3.8 but it is not installable
Depends: libgcc-s1 (>= 3.0) but it is not installable
Depends: libgsoap-2.8.91 but it is not installable
Depends: libpython3.8 (>= 3.8.2) but it is not installable
Depends: libvpx6 (>= 1.6.0) but it is not installable
Recommends: virtualbox-qt (= 6.1.6-dfsg-1) but it is not going to be installed
Recommends: libqt5core5a (>= 5.12.2) but it is not going to be installed
Recommends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or libqt5gui5-gles (>= 5.0.2) but it is not installable
Recommends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
Recommends: libqt5widgets5 (>= 5.0.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
これが私の現在のソースです。たぶん何かを追加する必要がありますか?
cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 10.5.0 _Buster_ - Official amd64 NETINST 20200801-11:34]/ buster main
#deb cdrom:[Debian GNU/Linux 10.5.0 _Buster_ - Official amd64 NETINST 20200801-11:34]/ buster main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
ベストアンサー1
Debian 10 の場合、以下を使用する必要があります。ルーカス・ヌスバウムのパッケージ。
(ここでは指示を再現しません。上記のリンクを使用できなくなった場合は、パッケージも同様です。)
上記のようにVirtual BoxのDebian Wikiページ、Debianで推奨される仮想化マネージャは、GNOME BoxやGNOME Boxlibvirt
などの多くのフロントエンドがあります。virt-manager