No se puede conectar el repositorio de yum

No se puede conectar el repositorio de yum

Cuando ejecuto yum install aparece el siguiente error.

root@datanode# yum list

CRITICAL:yum.cli:Config Error: Error accessing file for config
file:///etc/yum.conf

 root@datanode# rpm -ev yum 

        error: Failed dependencies:
        yum >= 3.0 is needed by (installed) yum-fastestmirror-1.1.16-21.el5.centos.noarch
        yum >= 3.2.18 is needed by (installed) yum-security-1.1.16-21.el5.centos.noarch
        yum >= 3.2.22 is needed by (installed) yum-updatesd-0.9-6.el5_10.noarch


root@datanode# cd /etc/yum.repos.d 

root@datanode:/etc/yum.repos.d# ll

total 36
-rw-r--r-- 1 root root 1926 Oct  7  2013 CentOS-Base.repo

-rw-r--r-- 1 root root  636 Oct  7  2013 CentOS-Debuginfo.repo

-rw-r--r-- 1 root root  626 Oct  7  2013 CentOS-Media.repo

-rw-r--r-- 1 root root 7574 Oct  7  2013 CentOS-Vault.repo


[email protected]:/etc/yum.repos.d# cat
/etc/yum.conf.FCS


[main] proxy=http://cache.backside.sv2.tellme.com:3128/

cachedir=/var/cache/yum keepcache=0 debuglevel=2

logfile=/var/log/yum.log distroverpkg=redhat-release tolerant=1

exactarch=1 obsoletes=1 gpgcheck=1 plugins=1

bugtracker_url=http://bugs.centos.org/yum5bug

# Note: yum-RHN-plugin doesn't honor this. metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo

# in /etc/yum.repos.d

Respuesta1

Parece que tu yum está roto...

CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf- ¿Puedes verificar que tu archivo de configuración esté realmente disponible /etc/yum.confy que su contenido sea válido?

Puedes intentar reinstalar desdeaquí. Es posible que necesite encontrar sus propios departamentos.

información relacionada