LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2007, 06:17 AM   #1
mrtheduke
LQ Newbie
 
Registered: Mar 2007
Distribution: 64 bit Fedora Core 6
Posts: 8

Rep: Reputation: 0
Timeouts setting up repositories in Yum


Hi hope someone can help, I'm having real problems getting Yum to update on my machine (FC6 x86_64). I keep getting 'connection timed out' when its trying to retrieve the mirrorlist. Occasionally it'll work on one or two of the repositories (core and \ or updates)ie. I get the little 100% bar appear, but then it fails on extras (or updates). I've tried adding timeout=300 (with various values) to the conf files, I've tried using yum clean all and yum clean headers, i've upgraded yum manually to the latest version. I can ping the repositories and access the URLs in my browser with no problems. I'm in the UK so I was hoping maybe someone has streamlined their files to work here. If anyone has, if you could post your yum.conf and core, updates, and extras repo files, I'd really appreciate it. I'd also be greatful for any other suggestions. Thanks.

Note: when I say getting yum to update, I mean update anything e.g Yum update, yum install yum, etc.

Last edited by mrtheduke; 03-29-2007 at 06:20 AM.
 
Old 03-29-2007, 06:57 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
You could try adding some mirrors to the baseurls of your repo files in /etc/yum.repos.d. I was having similar issues until I specified a set of mirros from France, Germany, the Netherlands and the UK; now it's been months since yum last let me down.
 
Old 03-29-2007, 11:39 AM   #3
mrtheduke
LQ Newbie
 
Registered: Mar 2007
Distribution: 64 bit Fedora Core 6
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73
You could try adding some mirrors to the baseurls of your repo files in /etc/yum.repos.d. I was having similar issues until I specified a set of mirros from France, Germany, the Netherlands and the UK; now it's been months since yum last let me down.
Cheers Jay, I set the base urls to mirrors in the uk and ireland and also hardcoded the paths rather than using variables. I'm now getting my first ever Fedora update Thanks very much for you help.
 
Old 03-29-2007, 11:47 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Glad to hear it made a difference. Hardcoding the paths wouldn't make any difference, though. In fact, the variables are quite handy when you decide to do a full system upgrade (Fedora 7 is only a month or two away) - you don't have to change anything in that case. But it isn't as if you are going to see any other disadvantages so you can really do as you like.

Last edited by jay73; 03-29-2007 at 11:48 AM.
 
Old 03-29-2007, 02:23 PM   #5
mrtheduke
LQ Newbie
 
Registered: Mar 2007
Distribution: 64 bit Fedora Core 6
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks. I am intending to revert back to using the variables for exactly that reason, but I just wanted to make sure there were no 'wildcards' that might have been interfering with the update. Ironically, after all that work getting the updates running, everything downloaded fine and began installing and there was a powercut When the power came back on and I ran yum update again, I got a bunch of confilct errors. I've done a yum clean all and kicked off the update and it seems to be running ok again. Out of interest, was there any other way I could have done it, ie. is there some kind of resume command to resume the update from the point it was at when the powercut occured? Irritatingly I was also in the middle of cooking dinner and I have an electric oven I don't think even yum could have helped me there though
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum | setting priorities for repositories the_gripmaster Fedora 2 03-04-2007 01:45 PM
rsync yum repositories mijohnst Linux - Networking 3 04-20-2006 11:29 PM
How do you add more Yum repositories? Wheat_Thins Linux - Newbie 1 11-27-2005 02:54 PM
yum repositories ?? ZeroIdea Linux - Software 2 10-23-2005 07:02 AM
yum repositories problem..... Daejavu Fedora 3 09-06-2005 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration