LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-30-2005, 07:03 PM   #1
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Rep: Reputation: 15
connection errors with yum


Hi, everyone. I've been trying to install audacity on a two-week old FC4 computer. I know it is in Fedora Extras, but I'm not getting anywhere using yum. Here are the messages I get every time I try -

[root@localhost ~]# yum install audacity
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:01
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 16 kB 00:12
http://mirror.stanford.edu/fedora/li...ta/primary.xml .gz: [Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz 100% |=========================| 48 kB 00:24
http://download.fedora.redhat.com/pu...i386/repodata/ primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz 100% |=========================| 24 kB 00:17
http://mirror.phy.olemiss.edu/mirror...podata/primary .xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
http://ftp.chg.ru/pub/Linux/fedora/c...rimary.xml.gz: [Errno 4] IOError: HTTP Error 404: Date: Fri, 30 Sep 2005 22:30:21 GMT
Server: Apache/1.3.29 (Unix)
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
primary.xml.gz 100% |=========================| 48 kB 00:24
http://fedora.mirrors.tds.net/pub/fe...ata/primary.xm l.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz 100% |=========================| 16 kB 00:13
http://mirror.newnanutilities.org/fe.../repodata/prim ary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.

It keeps going like this until it runs out of mirrors. It looks like something happened here, about two-thirds through the failed install -

primary.xml.gz 100% |=========================| 327 kB 01:54
updates-re: ################################################## 954/954
Added 954 new packages, deleted 0 old in 46.02 seconds
primary.xml.gz 100% |=========================| 56 kB 00:31
http://download.fedora.redhat.com/pu...epodata/primar y.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.

Unfortunately it just kept going with more errors afterward. This is when it ran out of mirrors and quit -

http://ftp.chg.ru/pub/Linux/fedora/l...rimary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
Error: failure: repodata/primary.xml.gz from extras: [Errno 256] No more mirrors to try.

I'm almost positive that this doesn't have anything to do with my (dial-up) Internet connection, because I have been surfing right before attempted installs. I though maybe yum was out-of-date, so I tried updating yum with yum update yum, but the same errors result.
 
Old 09-30-2005, 07:17 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
Are you behind a proxy or something?
 
Old 10-01-2005, 12:08 AM   #3
shams
Member
 
Registered: Jan 2004
Posts: 400

Rep: Reputation: 30
yum has this problem with repositories use apt or smart read this link

Last edited by shams; 10-01-2005 at 12:09 AM.
 
Old 10-02-2005, 01:22 PM   #4
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Original Poster
Rep: Reputation: 15
Thank you both for your help, but before I had a chance to check back here, I stumbled on a suggestion to try the config from fedorafaq.org. I installed it, and now yum works! I wasn't behind a proxy or anything like that (although I did have the default firewall enabled), so I don't know why it wasn't working before. I looked at your FAQ anyway, shams, and it was great! Very straightforward and helpful. If I have problems with yum again, I will go there first. Thanks again!
 
Old 10-09-2005, 04:52 PM   #5
mcdude
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora 5, Ubuntu 6 (ppc), RHE3
Posts: 4

Rep: Reputation: 0
I had the same problem. But after I cleaned out YUM it worked fine:

yum clean all

**** EDIT ****

The above only solved a very small portion of my problem, and I am posting the rest for those very unfortunate folks who will have the same problem I just went through (5 hours of goofing around):

It wasn't YUM at all, for some reason my whole machine was blocking ANY DOWNLOADING, (or even uploading) of glibc-common (more specifically, glibc-common-2.3.5-10.3.i386.rpm) no matter what I did I could not get it onto my machine. Finally I found the solution:

1. Get on a damn Windows machine and download glibc-common-2.3.5-10.3.i386.rpm
2. .zip the file (or just change the extension to .linux-sucks-somtimes [just to trick whatever forsaken process blocks that]) and upload it to your linux machine (if you can't ftp it I imagine saving it on disk/thumb drive would work just fine)
3. run $rpm -Uvh --nodeps glibc-common-2.3.5-10.3.i386.rpm
4. and finally, $yum install gcc
5. drink beer

Last edited by mcdude; 10-09-2005 at 08:17 PM.
 
Old 10-18-2005, 01:18 PM   #6
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
It wasn't YUM at all, for some reason my whole machine was blocking ANY DOWNLOADING, (or even uploading) of glibc-common.
Very weird.
Under the circumstances, I think your solution was just right. Were you ever able to figure out why Linux was blocking glibc?
 
Old 10-18-2005, 02:46 PM   #7
mcdude
LQ Newbie
 
Registered: Sep 2003
Distribution: Fedora 5, Ubuntu 6 (ppc), RHE3
Posts: 4

Rep: Reputation: 0
Nope, I never found out why. It *might* have something to do with an un-stopped fg process, but I'm not sure.

Also, if someone reads this and has the same problem, it would be cool if you would reply to this post with:

1. Are you using FC4?
2. Are you running Apache?
3. Are you running vsftpd?
4. Are you running sshd?
5. Are you running MySQL?
6. Do you have any un-stopped 'fg' processes? ($ fg)

Thanks!
 
Old 10-18-2005, 04:38 PM   #8
teedo757
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
same problem

Just did a reinstall of FC4 and installed server package, vsftp, mysql, apache, mail server, and some others. Having problems with yum. I am going to bypass my router and see if that is my problem since I was having problems dl the ISO's with my MS machine.
 
Old 10-18-2005, 05:16 PM   #9
teedo757
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Ok well for me it was a problem with my cable modem. I had an extra modem so I hooked it up and BAM problem solved. I dont know what the issue was but either the cable modem is bad or there is a problem with that type (RCA DMC235). Hope this helps someone.
 
Old 10-22-2005, 11:01 AM   #10
Dimension User
Member
 
Registered: Feb 2005
Distribution: Fedora Core 4 and happy user of KDE 3.5
Posts: 49

Original Poster
Rep: Reputation: 15
Gosh, mcdude, that's pretty rough. I hope somebody will be able to help you with this.
I'm glad you found the solution to your problem, teedo. Too bad about your modem, 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 and apt: all errors pingu Fedora 3 04-08-2005 03:07 PM
FC3 upgrade + YUM ERRORS blizunt7 Fedora 5 02-20-2005 02:25 PM
yum update and up2date errors djljjm Linux - Newbie 1 02-12-2005 01:59 PM
yum errors in fc3 nyk Linux - Software 1 01-14-2005 08:01 AM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM


All times are GMT -5. The time now is 01:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration