I've been trying to update with yum, but it always seems to come out yuck. Yet, wget always finds the URL. Why?
[root@localhost ~]# yum check-update
Not loading "blacklist" plugin, as it is disabled
Not loading "whiteout" plugin, as it is disabled
Loaded plugins: fastestmirror, refresh-packagekit, security
Config time: 0.029
Yum Version: 3.2.29
Setting up Package Sacks
Repository base is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?releas...64&repo=extras error was
14: PYCURL ERROR 47 - "Maximum (5) redirects followed"
Error: Cannot find a valid baseurl for repo: extras
But check this out, wget finds the URL without a problem. Can I do some reconfiguration of the yum.conf file or something to fix this?
[root@localhost ~]# wget "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras"
--2012-01-20 11:53:58--
http://mirrorlist.centos.org/?releas...64&repo=extras
Resolving mirrorlist.centos.org... 204.15.73.243, 64.235.47.134, 69.30.193.218, ...
Connecting to mirrorlist.centos.org|204.15.73.243|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://www.cfauth.com/?cfru=aHR0cDov...JlcG89ZXh0cmFz [following]
--2012-01-20 11:53:58--
http://www.cfauth.com/?cfru=aHR0cDov...JlcG89ZXh0cmFz
Resolving
www.cfauth.com... 216.52.23.29
Connecting to
www.cfauth.com|216.52.23.29|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://mirrorlist.centos.org/?releas...AAAAAAAFnMBgA= [following]
--2012-01-20 11:54:03--
http://mirrorlist.centos.org/?releas...AAAAAAAFnMBgA=
Connecting to mirrorlist.centos.org|204.15.73.243|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
http://mirrorlist.centos.org/?releas...64&repo=extras [following]
--2012-01-20 11:54:03--
http://mirrorlist.centos.org/?releas...64&repo=extras
Connecting to mirrorlist.centos.org|204.15.73.243|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: “index.html?release=6&arch=x86_64&repo=extras”
[ <=> ] 1,108 --.-K/s in 0s
2012-01-20 11:54:03 (107 MB/s) - “index.html?release=6&arch=x86_64&repo=extras” saved [1108]
[root@localhost ~]#