Estimados.
Me acabo de hacer cargo de un servidor centos 5,5 Como a pedido del cliente, necesitaba importar correos de otro servidor a este, quise install imapsync. El problemon, es que esta fallando yum. Alguna idea?
################################################################ root@rv:migracion# yum install imapsync There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
No module named cElementTree
Please install a package which provides this module, or verify that the module is installed correctly.
It's possible that the above module doesn't match the current version of Python, which is: 2.4.3 (#1, May 5 2011, 16:39:10) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]
If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
################################################################
root@rv:migracion# yum install imapsync There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
No module named cElementTree
busca el paquete que tenga este módulo e instálale con rpm... algún paquete que no se debía han borrado con un --force o --nodeps
Please install a package which provides this module, or verify that the module is installed correctly.
It's possible that the above module doesn't match the current version of Python, which is: 2.4.3 (#1, May 5 2011, 16:39:10) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]
If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
################################################################
Hola!
Que sucede cuando realizas un: yum -y update?
2011/8/3 Diego Sanchez diegors@gmail.com
Estimados.
Me acabo de hacer cargo de un servidor centos 5,5 Como a pedido del cliente, necesitaba importar correos de otro servidor a este, quise install imapsync. El problemon, es que esta fallando yum. Alguna idea?
################################################################ root@rv:migracion# yum install imapsync There was a problem importing one of the Python modules required to run yum. The error leading to this problem was:
No module named cElementTree
Please install a package which provides this module, or verify that the module is installed correctly.
It's possible that the above module doesn't match the current version of Python, which is: 2.4.3 (#1, May 5 2011, 16:39:10) [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]
If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
################################################################
-- Diego - Yo no soy paranoico! (pero que me siguen, me siguen) http://about.me/diegors/bio
El que usa una firma mas larga que el mail que envia, se la come _______________________________________________ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
2011/8/3 Andres Genovez andresgenovez@gmail.com:
yum -y update
Andres, es el mismo error, no importando el parametro que se agregue. Baje una version de elementtree, pero es ignorado:
rpm -q elementtree elementtree-1.2.7-1
Element tree fue descargado de : http://rpm.pbone.net/index.php3?stat=26&dist=0&size=46402&name=e...
Diego,
Revisa este enlace
http://www.linuxquestions.org/questions/fedora-35/yum-celementtree-python-48...
Talvez el problema se dio por mezclar los repos, intenta la solucion que te da ahi.
El 3 de agosto de 2011 09:26, Diego Sanchez diegors@gmail.com escribió:
2011/8/3 Andres Genovez andresgenovez@gmail.com:
yum -y update
Andres, es el mismo error, no importando el parametro que se agregue. Baje una version de elementtree, pero es ignorado:
rpm -q elementtree elementtree-1.2.7-1
Element tree fue descargado de :
http://rpm.pbone.net/index.php3?stat=26&dist=0&size=46402&name=e...
-- Diego - Yo no soy paranoico! (pero que me siguen, me siguen) http://about.me/diegors/bio
El que usa una firma mas larga que el mail que envia, se la come _______________________________________________ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
El día 3 de agosto de 2011 11:34, Andres Genovez andresgenovez@gmail.com escribió:
Revisa este enlace
http://www.linuxquestions.org/questions/fedora-35/yum-celementtree-python-48...
Talvez el problema se dio por mezclar los repos, intenta la solucion que te da ahi.
Gracias Andres. Los repos que tenia habilitado, son los defaults (ni siquiera epel)
Al intentar eliminar yum (rpm -e yum), tal cual dice en el foro, me advierte que hay paquetes que dependen de él, por lo cual los tuve que eliminar primero. Pero tengo un problema mas:
A la hora de eliminar fastestmirror:
#rpm -e yum error: Error de dependencias: yum >= 3.0 se necesita para (instalado) yum-fastestmirror-1.1.16-14.el5.centos.1.noarch #rpm -e yum-fastestmirror error: Error de dependencias: yum-fastestmirror se necesita para (instalado) yum-3.2.22-33.el5.centos.noarch
Que opinan?Utilizo --force ?
Yo pienso que si, pero primero bajate el RPM del YUM,
Me paso una vez que borre el YUM y todo se fue a la casa de Berta Bargas.
Hazlo con cuidado
El 3 de agosto de 2011 10:32, Diego Sanchez diegors@gmail.com escribió:
El día 3 de agosto de 2011 11:34, Andres Genovez andresgenovez@gmail.com escribió:
Revisa este enlace
http://www.linuxquestions.org/questions/fedora-35/yum-celementtree-python-48...
Talvez el problema se dio por mezclar los repos, intenta la solucion que
te
da ahi.
Gracias Andres. Los repos que tenia habilitado, son los defaults (ni siquiera epel)
Al intentar eliminar yum (rpm -e yum), tal cual dice en el foro, me advierte que hay paquetes que dependen de él, por lo cual los tuve que eliminar primero. Pero tengo un problema mas:
A la hora de eliminar fastestmirror:
#rpm -e yum error: Error de dependencias: yum >= 3.0 se necesita para (instalado) yum-fastestmirror-1.1.16-14.el5.centos.1.noarch #rpm -e yum-fastestmirror error: Error de dependencias: yum-fastestmirror se necesita para (instalado) yum-3.2.22-33.el5.centos.noarch
Que opinan?Utilizo --force ?
-- Diego - Yo no soy paranoico! (pero que me siguen, me siguen) http://about.me/diegors/bio
El que usa una firma mas larga que el mail que envia, se la come _______________________________________________ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Bueno, aca esta el ultimo error que recibi: http://pastebin.com/sC3BEKyy (Lo paso a pastebin, ya que soporta coloreado de sintaxis)
Lo solucione bajando la ISO de instalacion, removiendo yum, yum-fastestmirror y elementree
rpm -e python-elementtree-1.2.6-7.el4.rf.x86_64 yum yum-fastestmirror-1.1.16-14.el5.centos.1.noarch
Como no arrojo ninguna advertencia mas de dependencias, los instale desde la imagen montada
root@xxx# rpm -i /media/CentOS/yum-3.2.22-33.el5.centos.noarch.rpm /media/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm /media/CentOS/python-elementtree-1.2.6-5.x86_64.rpm
Luego ejecute yum para verificar que no tire ningun trace de python.. y salio andando.
Tiene CentOS algun sistema de rollback de upgrades? (bah.. existe en algun distro?)
Gracias por la ayuda, y ahora abro nuevo topic