Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Problems configuring yum

8:25 pm on Apr 17, 2007 (gmt 0)

New User

10+ Year Member

joined:Nov 23, 2006
votes: 0

Hi, I am very new to linux and yum and I have just installed yum. When I try to install mysql or do anything with yum I get errors like "retrygrab() failed for: [mirror.dulug...."...] I think that I have to fix the conf file but I don't know how to do this. Can I do it through command line? All the tutorials I have seen tell you what to edit in the config but I don't even know how to view my conf let alone edit it. Please help me.


9:47 pm on Apr 17, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member jtara is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 26, 2005
votes: 0

It's normally in /etc/yum.conf, but could be in different places depending on your particular Linux distribution and yum build options. If it isn't in /etc/yum.conf, try "locate yum.conf", assume you have locate on your machine and an up-to-date locate database. (run "updatedb" as root to update the locate database.)

"man yum.conf" should tell you everything you need to know about how to set-up yum.conf.

You will need to be root to edit /etc/yum.conf. ("su", and it will ask for the root password.) You can edit it using any text editor. I like "kate" for GUI, or "pico" for terminal-based editor (only because I remember Wordstar...)

You can view it with "cat /etc/yum.conf", "less /etc/yum.conf", or "more /etc/yum.conf" if for some reason you don't have "less".

You need to get a good book or online tutorial on basic Linux use an administration. For basic basics, I like the inexpensive "Phrasebook" series of pocket handbooks. (i.e. "Linux Phrasebook", "Apache Phrasebook", "MySQL Phrasebook")

2:50 am on Apr 18, 2007 (gmt 0)

New User

10+ Year Member

joined:Nov 23, 2006
votes: 0

Thank you so much jtara. I have found a tutorial on linux and have figured a few things out.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members