Tengo un problema con la instalación de yum.
Yum necesita Python:
rpm -i yum-3.2.29-81.el6.centos.noarch.rpm
error: Failed dependencies:
python(abi) = 2.6 is needed by yum-3.2.29-81.el6.centos.noarch
Python necesita bibliotecas de Python:
rpm -i python-2.6.6-68.el6_10.x86_64.rpm
error: Failed dependencies:
libpython2.6.so.1.0()(64bit) is needed by python-2.6.6-68.el6_10.x86_64
python-libs(x86-64) = 2.6.6-68.el6_10 is needed by python-2.6.6-68.el6_10.x86_64
Las bibliotecas de Python necesitan una biblioteca para expatriados (¡y el propio Python! ¡El círculo está cerrado!):
rpm -i python-libs-2.6.6-66.el6_8.x86_64.rpm
warning: python-libs-2.6.6-66.el6_8.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
libexpat.so.1(EXPAT_2_0_1_RH)(64bit) is needed by python-libs-2.6.6-66.el6_8.x86_64
libffi.so.5()(64bit) is needed by python-libs-2.6.6-66.el6_8.x86_64
libgdbm.so.2()(64bit) is needed by python-libs-2.6.6-66.el6_8.x86_64
python(abi) = 2.6 is needed by python-libs-2.6.6-66.el6_8.x86_64
Pero el expatriado ya está instalado:
rpm -i expat-2.0.1-13.el6_8.x86_64.rpm
warning: expat-2.0.1-13.el6_8.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
package expat-2.1.0-10.el7_3.x86_64 (which is newer than expat-2.0.1-13.el6_8.x86_64) is already installed
file /lib64/libexpat.so.1 from install of expat-2.0.1-13.el6_8.x86_64 conflicts with file from package expat-2.1.0-10.el7_3.x86_64
file /usr/bin/xmlwf from install of expat-2.0.1-13.el6_8.x86_64 conflicts with file from package expat-2.1.0-10.el7_3.x86_64
No sé cómo arreglar eso. Por favor ayuda. ¡Gracias de antemano!
Respuesta1
Dos cuestiones aquí:
1) Simplemente instálelos todos a la vez:
rpm -i yum-3.2.29-81.el6.centos.noarch.rpm python-2.6.6-68.el6_10.x86_64.rpm python-libs-2.6.6-66.el6_8.x86_64.rpm
2) Necesita un paquete que proporcione libexpat.so.1(EXPAT_2_0_1_RH)(64bit)
. Comprueba lo que ofrece tu paqueterpm -q --provides expat