Problems configuring yum

  • steven420
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 16, 2005
  • Posts: 100
  • Status: Offline

Post April 17th, 2007, 1:29 pm

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: http://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.

Thanks,
Steven.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 17th, 2007, 1:29 pm

  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post April 17th, 2007, 3:02 pm

Apparently you aren't the only one who is having a problem with that. A Google search for
retrygrab() failed
returns a lot of hits. Check it out.
How do you know when a politician is lying? His mouth is moving.
  • steven420
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 16, 2005
  • Posts: 100
  • Status: Offline

Post April 17th, 2007, 7:46 pm

I have and alot of the results don't aply to me. The main problem is just my lack of knowledge with linux. I'm slowly making progress.
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post April 18th, 2007, 5:38 am

There was a long thread about yum some months ago and it turned out that the user had to delete some file and all was well. Use the search ozzu option at the top of the page to find it.
How do you know when a politician is lying? His mouth is moving.
  • steven420
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 16, 2005
  • Posts: 100
  • Status: Offline

Post April 18th, 2007, 12:55 pm

Thanks don. I'm having problems finding good urls for my conf. It keeps saying that it ran out of servers.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post April 18th, 2007, 5:38 pm

what distro are you using? can you post your yum.conf file? it's located in the folder /etc
do you know if you're using the GNOME or KDE desktop?
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • steven420
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 16, 2005
  • Posts: 100
  • Status: Offline

Post April 18th, 2007, 8:13 pm

The version of yum I am using is: yum-2.0.8-1. And have redhat fedora core 2 os.
I don't have gnome or any other desktop type stuff installed.
Here is the conf that came with yum.
Code: [ Select ]
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1

[base]
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/


[updates]
name=Red Hat Linux $releasever - Updates
baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$releasever/
  1. [main]
  2. cachedir=/var/cache/yum
  3. debuglevel=2
  4. logfile=/var/log/yum.log
  5. pkgpolicy=newest
  6. distroverpkg=redhat-release
  7. tolerant=1
  8. exactarch=1
  9. [base]
  10. name=Red Hat Linux $releasever - $basearch - Base
  11. baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/$releasever/$basearch/
  12. [updates]
  13. name=Red Hat Linux $releasever - Updates
  14. baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/updates/$releasever/

When I try using yum it says:
Code: [ Select ]
Error: Cannot find baseurl or name for server 'livna-unstable'. Skipping
Error: Cannot find baseurl or name for server 'livna-testing'. Skipping
Gathering header information file(s) from server(s)
Server: http-download.fedora.redhat.com-pub-fedora-linux-core-updates-2-i386-
Server: http-download.fedora.us-fedora-fedora-2-i386-RPMS.stable-
retrygrab() failed for:
 http://download.fedora.us/fedora/fedora/2/i386/RPMS.stable/headers/header.info
 Executing failover method
failover: out of servers to try
Error getting file http://download.fedora.us/fedora/fedora/2/i386/RPMS.stable/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
  1. Error: Cannot find baseurl or name for server 'livna-unstable'. Skipping
  2. Error: Cannot find baseurl or name for server 'livna-testing'. Skipping
  3. Gathering header information file(s) from server(s)
  4. Server: http-download.fedora.redhat.com-pub-fedora-linux-core-updates-2-i386-
  5. Server: http-download.fedora.us-fedora-fedora-2-i386-RPMS.stable-
  6. retrygrab() failed for:
  7.  http://download.fedora.us/fedora/fedora/2/i386/RPMS.stable/headers/header.info
  8.  Executing failover method
  9. failover: out of servers to try
  10. Error getting file http://download.fedora.us/fedora/fedora/2/i386/RPMS.stable/headers/header.info
  11. [Errno 4] IOError: HTTP Error 404: Not Found


Thanks,
Steven.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post April 18th, 2007, 8:19 pm

you didnt answer the most important of my questions :] what distro are u running?
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • steven420
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 16, 2005
  • Posts: 100
  • Status: Offline

Post April 18th, 2007, 8:25 pm

sorry I have redhat fedora core 2.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post April 18th, 2007, 8:45 pm

i believe that version doesn't have too much support sticking around anymore.. is there a reason you're using such an old version? FC6 has been released and FC7 test 3 was released on 3/29..
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • steven420
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 16, 2005
  • Posts: 100
  • Status: Offline

Post April 18th, 2007, 8:46 pm

Thats what was installed on my server when I got it. :(
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post April 18th, 2007, 8:56 pm

iii see. are you allowed to install a different distro? because CentOS is based off Red Hat Enterprise and the difference between the two is CentOS is free :] so if you were allowed and comfortable enough I would suggest upgrading..

otherwise you chould check this out but i dont know how much help it will be or if any of the information contained in it is still valid =\
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • steven420
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 16, 2005
  • Posts: 100
  • Status: Offline

Post April 18th, 2007, 9:13 pm

I am allowed to install any software I wish. I don't Know how to go about upgrading (a few days ago I didn't know how to do anything with linux or what yum was). Is it hard? The reason I even started all this was because I was having dependency errors when I was trying to install mysql 5. I think I read somewhere that yum solves dependency problems? not sure if that is true?

P.S Thanks for all the help so far.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post April 18th, 2007, 9:46 pm

yes, that is true. yum will solve dependency problems as long as the repositories you have have all of the packages you need. but like i said earlier, it may be difficult to find good repositories with packages for fedora core 2. is the server like something you physically own? or is it from a hosting company?
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • steven420
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Oct 16, 2005
  • Posts: 100
  • Status: Offline

Post April 18th, 2007, 11:39 pm

I have my server through godaddy.com
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 18th, 2007, 11:39 pm

Post Information

  • Total Posts in this topic: 17 posts
  • Users browsing this forum: No registered users and 81 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.