centos 中的 Yum 结果不完整?

centos 中的 Yum 结果不完整?

我最近安装了 centos,并且更新和升级了软件包,一切都很顺利。现在真正的问题是,每当我使用yum默认包管理器搜索时,它显示的结果都非常小。

即使我搜索虚拟盒,它也只显示 2 个结果,而我想要的主要虚拟盒结果甚至不存在。

我甚至在 resol.conf 文件中更改了我的 dns,但同样的问题仍然存在。

我只是在这里附加日志文件。

[root@localhost etc]# yum search virtualbox
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.iitm.ac.in
 * extras: ftp.iitm.ac.in
 * updates: ftp.iitm.ac.in
======================== Matched: virtualbox =========================
freerdp.x86_64 : Remote Desktop Protocol client
virt-what.x86_64 : Detect if we are running in a virtual machine

如何解决这个问题并列出所有存储库。 图片在这里

刚刚尝试从 rpm 安装 VirtualBox,但仍然出现如下所示的错误

[googlebot@localhost ~]$ cd Downloads/
[googlebot@localhost Downloads]$ ls
VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64.rpm
[googlebot@localhost Downloads]$ rpm -i V
error: open of V failed: No such file or directory
[googlebot@localhost Downloads]$ rpm -i VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64.rpm 
warning: VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 98ab5139: NOKEY
error: Failed dependencies:
    libQt5Core.so.5()(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5Core.so.5(Qt_5)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5Core.so.5(Qt_5.6)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5Gui.so.5()(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5Gui.so.5(Qt_5)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5OpenGL.so.5()(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5OpenGL.so.5(Qt_5)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5PrintSupport.so.5()(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5PrintSupport.so.5(Qt_5)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5Widgets.so.5()(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5Widgets.so.5(Qt_5)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5X11Extras.so.5()(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libQt5X11Extras.so.5(Qt_5)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libpng16.so.16()(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libpng16.so.16(PNG16_0)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libstdc++.so.6(CXXABI_1.3.9)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
    libvpx.so.3()(64bit) is needed by VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64

答案1

virtualbox在官方 CentOS 存储库中没有,EPEL 中也没有。如果您想要virtualbox。您将必须安装提供此专有工具的附加存储库。

定义您认为还有哪些内容是“不完整的”。

答案2

您可能缺少EPELrepo 软件包。此存储库提供了很多附加软件包以及原始软件包的更新。

要安装它,只需运行:

yum install epel-release

此后,您的索引将填充大量原始 CentOS 存储库所缺少的附加软件包。

相关内容