I have problem with my yum, I am trying to install subversion or any other software I am getting any error [Errno -1] Header is not complete. Trying other mirror all the time. I am running CentOS release 5 (Final) on kernel 2.6.18-53.1.21.el5PAE i386, I am behind a proxy. I have other flavours(centos,redhat,fedora) of linux that have the same network settings but they are able to update and install with yum. I have tried to do a yum clean all and then yum -y update but to no success. Your help is very welcome.
Did you set up your CentOS system to use a proxy?
Create /etc/profile.d/proxy.sh:
Restart shell (or run those commands manually) and your proxy should be set up including yum.
I have managed to make it work some upstream proxy.