 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

19th January 2007, 09:04 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 11

|
|
Yum error
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  onfig Error: Error accessing file for config file:///etc/yum.conf. Fedora has been pissing me off lately, and would appreciate the help..
|

19th January 2007, 09:19 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
|
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
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

19th January 2007, 09:32 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 11

|
|
Ill type in
Quote:
|
yum install mplayerplug-in
|
in the terminal, then get the message
Quote:
CRITICAL:yum.cli onfig Error: Error accessing file for config file:///etc/yum.conf
|
|

19th January 2007, 09:42 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
|
Hello:
Have not seen this one before ?
Do you actually have an /etc/yum.conf file ? And if so, what is the content?
Seve
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

19th January 2007, 09:56 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 11

|
|
|
Ahh, well looks like I have a yum.conf.bak file, which is blank, so you think thats the problem?
|

19th January 2007, 10:01 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
Quote:
|
Originally Posted by BadShaman
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.
PHP Code:
[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
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

19th January 2007, 10:13 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 11

|
|
|
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"
Last edited by BadShaman; 19th January 2007 at 10:27 PM.
|

19th January 2007, 10:28 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
|
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
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|

19th January 2007, 10:38 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 11

|
|
|
Well that did the job, thanks for helping a fellow noob out =)
|

19th January 2007, 10:41 PM
|
 |
Retired Community Manager
|
|
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376

|
|
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
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 21:46 (Saturday, 18-05-2013)
|
|
 |
 |
 |
 |
|
|