Re: 'yum update' error - Cannot retrieve repository metadata
"Andrew Wheal" <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
I ran 'urlgrabber
http://mirror.bytemark.co.uk/centos/5/os/x86_64/repodata/repomd.xml' and got
the output:
Traceback (most recent call last):
File "/usr/bin/urlgrabber", line 124, in ?
main()
File "/usr/bin/urlgrabber", line 120, in main
filename = urlgrab(url,filename=file,**kwargs)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 602,
in urlgrab
return default_grabber.urlgrab(url, filename, **kwargs)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 934,
in urlgrab
return self._retry(opts, retryfunc, url, filename)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 852,
in _retry
r = apply(func, (opts,) + args, {})
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 920,
in retryfunc
fo = URLGrabberFileObject(url, filename, opts)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1008,
in __init__
self._do_open()
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1091,
in _do_open
fo, hdr = self._make_request(req, opener)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 1220,
in _make_request
raise URLGrabError(4, _('IOError: %s') % (e, ))
urlgrabber.grabber.URLGrabError: [Errno 4] IOError: <urlopen error (110,
'Connection timed out')>
What does this exactly mean?
--------------------------------------------------
From: "Seth Vidal" <[email protected]>
Sent: Monday, September 14, 2009 5:14 PM
To: "Yellowdog Updater, Modified" <[email protected]>
Subject: Re: [Yum] 'yum update' error - Cannot retrieve repository metadata
>
>
> On Mon, 14 Sep 2009, Andrew Wheal wrote:
>
>> I have run the command 'tcpdump -w tcpdump.txt | yum update' and then i
>> used 'tcpdump -r tcpdump.txt' to get the results, below:
>>
>> reading from file tcpdump.txt, link-type EN10MB (Ethernet)
>> 12:39:09.221619 arp who-has mygateway.ar7 tell sicoserver
>> 12:39:09.225138 arp reply mygateway.ar7 is-at 00:14:6c:10:6e:da (oui
>> Unknown)
>> 12:39:09.225145 IP sicoserver.35396 > mygateway.ar7.domain: 36584+ AAAA?
>> mirror.bytemark.co.uk. (39)
>> 12:39:09.267061 IP mygateway.ar7.domain > sicoserver.35396: 36584 0/0/0
>> (39)
>> 12:39:09.267140 IP sicoserver.39452 > mygateway.ar7.domain: 9735+ AAAA?
>> mirror.bytemark.co.uk. (39)
>> 12:39:09.272099 IP mygateway.ar7.domain > sicoserver.39452: 9735- 1/0/0
>> (39)
>> 12:39:09.272166 IP sicoserver.35949 > mygateway.ar7.domain: 9418+ A?
>> mirror.bytemark.co.uk. (39)
>> 12:39:09.276625 IP mygateway.ar7.domain > sicoserver.35949: 9418- 1/0/0
>> A[|domain]
>> 12:39:09.276778 IP sicoserver.36733 > 1.0.0.0.http: S
>> 509686349:509686349(0) win 5840 <mss 1460,sackOK,timestamp 220963
>> 0,nop,wscale 7>
>> 12:39:12.276614 IP sicoserver.36733 > 1.0.0.0.http: S
>> 509686349:509686349(0) win 5840 <mss 1460,sackOK,timestamp 223963
>> 0,nop,wscale 7>
>> 12:39:14.256873 arp who-has sicoserver tell mygateway.ar7
>> 12:39:14.256880 arp reply sicoserver is-at 00:18:f3:67:f7:fe (oui
>> Unknown)
>> 12:39:18.276669 IP sicoserver.36733 > 1.0.0.0.http: S
>> 509686349:509686349(0) win 5840 <mss 1460,sackOK,timestamp 229963
>> 0,nop,wscale 7>
>> 12:39:28.475768 IP 192.168.0.7.plysrv-https >
>> 239.192.152.143.plysrv-https: UDP, length 119
>> 12:39:30.276781 IP sicoserver.36733 > 1.0.0.0.http: S
>> 509686349:509686349(0) win 5840 <mss 1460,sackOK,timestamp 241963
>> 0,nop,wscale 7>
>> 12:39:35.276821 arp who-has mygateway.ar7 tell sicoserver
>> 12:39:35.278773 arp reply mygateway.ar7 is-at 00:14:6c:10:6e:da (oui
>> Unknown)
>> 12:40:10.367175 IP 192.168.0.7.netbios-dgm > 192.168.0.255.netbios-dgm:
>> NBT UDP PACKET(138)
>>
>> A lot of this doesn't make sense to me, but I can work out that packets
>> are being sent to and from my server. What looks strange to me though is
>> that my server has tried to send packets to "1.0.0.0.http"? Should this
>> not be a valid IP address?
>>
>> My 'yum.conf' file has no reference to neither throttle nor bandwidth.
>> Here is the contents of my file, incase there is something wrong with it:
>>
>
>
> take the baseurl of the site you cannot connect to and run:
>
> urlgrabber $thaturl/repodata/repomd.xml
>
> see what it says.
>
> -sv
>
> _______________________________________________
> Yum mailing list
> [email protected]
> http://lists.baseurl.org/mailman/listinfo/yum
>