Problems configuring yum

  • steven420
  • Graduate
  • Graduate
  • steven420
  • Posts: 100

Post 3+ Months Ago

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.
  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

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.
  • steven420
  • Graduate
  • Graduate
  • steven420
  • Posts: 100

Post 3+ Months Ago

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
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

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.
  • steven420
  • Graduate
  • Graduate
  • steven420
  • Posts: 100

Post 3+ Months Ago

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
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

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?
  • steven420
  • Graduate
  • Graduate
  • steven420
  • Posts: 100

Post 3+ Months Ago

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
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

you didnt answer the most important of my questions :] what distro are u running?
  • steven420
  • Graduate
  • Graduate
  • steven420
  • Posts: 100

Post 3+ Months Ago

sorry I have redhat fedora core 2.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

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..
  • steven420
  • Graduate
  • Graduate
  • steven420
  • Posts: 100

Post 3+ Months Ago

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

Post 3+ Months Ago

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 =\
  • steven420
  • Graduate
  • Graduate
  • steven420
  • Posts: 100

Post 3+ Months Ago

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
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

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?
  • steven420
  • Graduate
  • Graduate
  • steven420
  • Posts: 100

Post 3+ Months Ago

I have my server through godaddy.com
  • steven420
  • Graduate
  • Graduate
  • steven420
  • Posts: 100

Post 3+ Months Ago

My pay period is finishing soon can anyone recommend the best hosting company to get a server through?
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

you should probably create a different thread for that question as its unrelated to problems w/yum

Post Information

  • Total Posts in this topic: 17 posts
  • Users browsing this forum: No registered users and 33 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.