如何修复 redhat vm 上的 yum

如何修复 redhat vm 上的 yum

我在 Bluehost 上托管了一个 VM。我无法使用 yum 安装 Xvfb。我使用 yum 进行的任何尝试($ yum$ yum install Xvfb等)都出现以下错误;

CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf

使用PuTTY 登录到我的网站,如果我输入,rpm -qi yum我会得到

[email protected] [~]# rpm -qi yum
Name        : yum                          Relocations: (not relocatable)
Version     : 3.2.29                            Vendor: CentOS
Release     : 43.el6.centos                 Build Date: Tue Dec 17 05:27:10 2013
Install Date: Wed Jan  8 02:21:22 2014         Build Host: c6b9.bsys.dev.centos.org
Group       : System Environment/Base       Source RPM: yum-3.2.29-43.el6.centos.src.rpm
Size        : 4736145                          License: GPLv2+
Signature   : RSA/SHA1, Tue Dec 17 06:24:32 2013, Key ID --8bytesOfHex--
Packager    : CentOS BuildSystem <http://bugs.centos.org>
URL         : http://yum.baseurl.org/
Summary     : RPM package installer/updater/manager
Description :
Yum is a utility that can check for and automatically download and
install updated RPM packages. Dependencies are obtained and downloaded
automatically, prompting the user for permission as necessary.

我甚至不知道这个包裹在哪里,所以我可以给出yum.conf

相关内容