Eu tenho um problema com a instalação do yum.
Yum precisa de 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 precisa de bibliotecas 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
As bibliotecas Python precisam da biblioteca expat (e do próprio Python! o círculo está fechado!):
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
Mas o expat já 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
Eu não sei como consertar isso. Por favor ajude. Desde já, obrigado!
Responder1
Duas questões aqui:
1) Basta instalar todos de uma 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) Você precisa de um pacote que forneça libexpat.so.1(EXPAT_2_0_1_RH)(64bit)
. Verifique o que seu pacote oferecerpm -q --provides expat