[CentOS] YUM FAILED AFTER YUM CLEANALL

Thu Jul 19 11:34:29 UTC 2012
Luigi Rosa <lists at luigirosa.com>

arun kumar said the following on 19/07/2012 13:31:

> bash-4.1# yum update
> Loaded plugins: fastestmirror, refresh-packagekit
> Loading mirror speeds from cached hostfile
> Could not retrieve mirrorlist
> http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
> 14: PYCURL ERROR 22 - "The requested URL returned error: 407"
> Error: Cannot find a valid baseurl for repo: base


Check that file /etc/yum.repos.d/CentOS-Base.repo contains this:

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6





Ciao,
luigi

-- 
/
+--[Luigi Rosa]--
\

You will never remember the many times the launch slipped, but the
one-time failures are with you always.
     --Walt Williams, NASA, durante la cerimonia finale del progetto Mercury