[Yum] yum and wget timing out.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I recently wrote for help getting yum to connect to the repos and 
mentioned that wget was having similar trouble.

In case anyone else is having this trouble, I thought id leave a note 
that I've traced this to a dns issue (at least on my system), i expect 
it will turnout to be fC4 specific. yum and wget dont see to get dns 
most of the time, whereas ping does. (see example below). I remember 
having a problem with firefox not working when I first installed FC4, 
which also turned out to be it not getting dns's. I dont know enough 
enough about dns yet to work out what specifically needs fixing, but for 
now pinging the repos prior to using yum seems to work.

here's the example:

[root@ORION ~]# wget 
http://ayo.freshrpms.net/fedora/linux/4/x86_64/core/repodata/repomd.xml
--18:13:52--  
http://ayo.freshrpms.net/fedora/linux/4/x86_64/core/repodata/repomd.xml
           => `repomd.xml.9'
Resolving ayo.freshrpms.net... 1.0.0.0
Connecting to ayo.freshrpms.net|1.0.0.0|:80...
[root@ORION ~]# ping ayo.freshrpms.net
PING ie.freshrpms.net (193.1.193.67) 56(84) bytes of data.
64 bytes from apt.sw.be (193.1.193.67): icmp_seq=0 ttl=54 time=319 ms
64 bytes from apt.sw.be (193.1.193.67): icmp_seq=1 ttl=54 time=383 ms

--- ie.freshrpms.net ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 319.837/351.677/383.518/31.846 ms, pipe 2

[root@ORION ~]# wget 
http://ayo.freshrpms.net/fedora/linux/4/x86_64/core/repodata/repomd.xml
--18:14:38--  
http://ayo.freshrpms.net/fedora/linux/4/x86_64/core/repodata/repomd.xml
           => `repomd.xml.9'
Resolving ayo.freshrpms.net... 193.1.193.67
Connecting to ayo.freshrpms.net|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,140 (1.1K) [application/xml]

100%[====================================>] 1,140         --.--K/s

18:14:39 (57.90 KB/s) - `repomd.xml.9' saved [1140/1140]

[root@ORION ~]# yum update
Setting up Update Process
Setting up repositories
core                                                                 [1/3]
core                      100% |=========================| 1.1 kB    00:00


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux