PDA

View Full Version : Yum error


BadShaman
19th January 2007, 09:04 PM
So I've been trying to install some plugins forawhile now, to be specific it was the mplayer plugin so I could actually watch some dvds. First I had some different problems, but now ever time I type in the command to download something from yum, I get this CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf. Fedora has been pissing me off lately, and would appreciate the help..

Seve
19th January 2007, 09:19 PM
Hello:
You will have to post some more details of the problem / error that you are experiencing.
The yum command and the output of said command, for example

Seve

BadShaman
19th January 2007, 09:32 PM
Ill type in yum install mplayerplug-in in the terminal, then get the message CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf

Seve
19th January 2007, 09:42 PM
Hello:
Have not seen this one before ?
Do you actually have an /etc/yum.conf file ? And if so, what is the content?

Seve

BadShaman
19th January 2007, 09:56 PM
Ahh, well looks like I have a yum.conf.bak file, which is blank, so you think thats the problem?

Seve
19th January 2007, 10:01 PM
Ahh, well looks like I have a yum.conf.bak file, which is blank, so you think thats the problem?
Hello:
Yes, most likely. You need to create an new /etc/yum.conf file
if you are using FC6 then here is a copy of mine you can use.
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Leave a blank line at the end of the file and try to run yum again.


Seve

BadShaman
19th January 2007, 10:13 PM
Well I made the file, but it wont let me put it in the ect folder even though im logged in as root,a message comes up and says " you do not have permission to write to this folder"

Seve
19th January 2007, 10:28 PM
Hello:
Make sure that you log in as root using
su - < ------- the dash is important
yourpassword
then
gedit /etc/yum.conf
and copy and paste the details
leaving at least one blank line at the end
save, exit and give it a go again

Seve

BadShaman
19th January 2007, 10:38 PM
Well that did the job, thanks for helping a fellow noob out =)

Seve
19th January 2007, 10:41 PM
Hello:
No problem, glad to help.

Glad you got it sorted out :)

Just remember to have some patience and there are tons of folks here that are very helpful

Seve

Instagram Europe | America Instagram Photos | Asia Travel Photos on Instagram