hi. Im trying to add some repositories yum and now i get this error when trying to use yum.
Config Error: Error accessing config file: /etc/yum.conf
at first i added the required lines at the bottom of yum.conf and got that error. So i tried putting them in their own repository files but i still get the same error.
these are the file permissions:
-rw-r--r-- 1 root root 255 Jan 16 04:33 yum.conf
here is the file.
Code:
:[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
when i put the repo info in i put it after the two comments on the bottom. i used gedit to edit yum.conf so i did ps -e | grep gedit to see if maybe i still had it opened. That is all i could think of that it couldn't get accessed was wrong file permissions or it was already open. Can anyone help me figure this out? I can post the repo info i tried adding if necessary. Thanks for any replies in advance.