quita de /etc/yum.repos los repositorios adicionales (mueve los archivos .repo a otra ubicación) y deja únicamente los de centos, luego has un yum clean all Posteriormente yum update y finalmente yum install gcc
Espero te sirva. Carlos R. 2013/4/23 Antonio Bujedo Martinez <orcaj...@gmail.com> > hola lista, > Tengo un problema que me esta sacando de mis casillas. resulta que > intento instalar gcc pero me da error de dependencias, esto eslo que me > muestra al intentar instalarlo: > > yum install gcc > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > * atomic: www7.atomicorp.com > * base: mirror.ovh.net > * extras: mirror.ovh.net > * updates: mirror.ovh.net > Excluding Packages in global exclude list > Finished > Setting up Install Process > Resolving Dependencies > --> Running transaction check > ---> Package gcc.i386 0:4.1.2-54.el5 set to be updated > --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc > --> Running transaction check > ---> Package glibc-devel.i386 0:2.5-107.el5_9.1 set to be updated > --> Processing Dependency: glibc-headers = 2.5-107.el5_9.1 for package: > glibc-devel > --> Processing Dependency: glibc-headers for package: glibc-devel > --> Running transaction check > ---> Package glibc-headers.i386 0:2.5-107.el5_9.1 set to be updated > --> Processing Dependency: kernel-headers >= 2.2.1 for package: > glibc-headers > --> Processing Dependency: kernel-headers for package: glibc-headers > --> Finished Dependency Resolution > glibc-headers-2.5-107.el5_9.1.i386 from updates has depsolving problems > --> Missing Dependency: kernel-headers is needed by package > glibc-headers-2.5-107.el5_9.1.i386 (updates) > glibc-headers-2.5-107.el5_9.1.i386 from updates has depsolving problems > --> Missing Dependency: kernel-headers >= 2.2.1 is needed by package > glibc-headers-2.5-107.el5_9.1.i386 (updates) > Error: Missing Dependency: kernel-headers is needed by package > glibc-headers-2.5-107.el5_9.1.i386 (updates) > Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package > glibc-headers-2.5-107.el5_9.1.i386 (updates) > You could try using --skip-broken to work around the problem > You could try running: package-cleanup --problems > package-cleanup --dupes > rpm -Va --nofiles --nodigest > > El problema es que no me deja instalar, los headers, ni con la > --skip-broken. > > Estoy instalando CastControl[1], y entre otras cosas me pide soporte > nativo JSON en php. Pero hay que pasar por el gcc, el cual no me deja. > He estado buscando por la red pero nada que me aclare el porque no me > deja ni instalar los headers. > > Sistema: > [root@xxxxxxx ~]# uname -a > Linux r20562.ovh.net 2.6.32.2-xxxx-grs-ipv4-32 #1 SMP Tue Dec 29 > 14:41:18 UTC 2009 i686 i686 i386 GNU/Linux > > > > Lista de repositorios: > > [root@xxxxxxxx ~]# yum repolist > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > * atomic: www7.atomicorp.com > * base: mirror.ovh.net > * extras: mirror.ovh.net > * updates: mirror.ovh.net > Excluding Packages in global exclude list > Finished > repo id repo name > status > addons CentOS-5 - Addons > 0 > atomic CentOS / Red Hat Enterprise Linux 5 - > atomicrocketturtle.com 1.196 > base CentOS-5 - Base > 2.760+10 > extras CentOS-5 - Extras > 276 > updates CentOS-5 - Updates > 212+40 > repolist: 4.444 > > > un saludo y gracias de antemano. > > [1] http://www.cast-control.net/ > > > _______________________________________________ > CentOS-es mailing list > CentOS-es@centos.org > http://lists.centos.org/mailman/listinfo/centos-es > > -- Carlos R!. _______________________________________________ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es