apt
20.10 上有 virtualbox 包吗?
我发现这个apt install virtualbox virtualbox-dkms
在之前的版本上有效,但在 20.10
apt install virtualbox
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package virtualbox is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'virtualbox' has no installation candidate
apt search
找不到类似的东西。
答案1
http://packages.ubuntu.com可以轻松且权威地回答任何有关 Ubuntu 存储库中是否存在软件包 X 的问题。
请注意,Virtualbox 位于多宇宙存储库中。由于您的 apt 无法找到该包,因此您可能没有启用存储库。启用方法如下