我正在尝试在 linux mint 20.1 上安装 Virtualbox 7.0。我尝试通过包管理器和 Oracle 的 debian 文件下载并安装。无论哪种方式都没有成功。这是我不断遇到的错误:
The following packages have unmet dependencies:
virtualbox-7.0 : Depends: libc6 (>= 2.34) but 2.31-0ubuntu9.9 is to be installed
Depends: libqt5core5a (>= 5.15.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libqt5dbus5 (>= 5.14.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libqt5gui5 (>= 5.14.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed or
libqt5gui5-gles (>= 5.14.1) but it is not going to be installed
Depends: libqt5help5 (>= 5.15.1) but it is not going to be installed
Depends: libqt5widgets5 (>= 5.15.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libssl3 (>= 3.0.0~~alpha1) but it is not installable
Depends: libstdc++6 (>= 12) but 10.3.0-1ubuntu1~20.04 is to be installed
Depends: libvpx7 (>= 1.10.0) but it is not installable
Recommends: libsdl-ttf2.0-0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
答案1
您尝试安装的 Debian 软件包与您尝试安装的发行版不兼容。您需要使用与libc6-2.31
.
您应该能够使用从存储库apt
进行安装,或者您可以下载并尝试安装virtualbox
multiverse
适合你的发行版的软件包由于 Linux Mint 20.1 基于 Ubuntu 20.04