Every time I run the yum command in Linux Redhat I get this error message:
CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf
I don't have any files regarding yum in my /etc directory. But I still seem to have yum installed since I get this message when I run "rpm -qi yum":
Name : yum Relocations: (not relocatable)
Version : 3.2.29 Vendor: CentOS
Release : 75.el6.centos Build Date: Tue Jul 12 11:45:52 2016
Install Date: Tue Oct 18 16:44:21 2016 Build Host: worker1.bsys.centos.org
Group : System Environment/Base Source RPM: yum-3.2.29-75.el6.centos.src.rpm
Size : 4826214 License: GPLv2+
Signature : RSA/SHA1, Tue Jul 12 12:13:09 2016, Key ID 0946fca2c105b9de
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.
[email protected] [~]#
Any Idea why this is happening?
whereis yum
give you anything?