[CentOS] can NOT update CENTOS use YUM
John R Pierce
pierce at hogranch.com
Sun Aug 9 21:36:20 UTC 2009
mcclnx mcc wrote:
> Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os
>> error was
>>> [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
>>> Error: Cannot find a valid baseurl for repo: base
that error seems to indicate you can't read that URL.
at a shell prompt, try...
$ wget -O - --progress=dot
Resolving mirrorlist.centos.org... 184.108.40.206, 220.127.116.11
Connecting to mirrorlist.centos.org|18.104.22.168|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `STDOUT'
14:35:00 (21.8 MB/s) - `-' saved 
as you are in .tw, likely you'd get a different set of URLs back.
if you get errors, debug that.
More information about the CentOS