[CentOS] Problem updating VM

Mon Apr 5 20:22:35 UTC 2010
Kwan Lowe <kwan.lowe at gmail.com>

On Mon, Apr 5, 2010 at 3:53 PM, Chris Geldenhuis
<chris.gelden at iafrica.com> wrote:
> Now when I try to run yum update, I get the following:
> [root at tusker ~]# yum update
> 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.

That module is from CentOS python-elementree. Try validating that package:

rpm -qV python-elementtree

Note that this is different from python-celementtree from rpmforge...

> I then downloaded the python-clementtree package from dags site and
> tried to install it and get:
> [root at tusker ~]# rpm -i ./python-celementtree-1.0.5-1.2.el5.rf.x86_64.rpm
> warning: ./python-celementtree-1.0.5-1.2.el5.rf.x86_64.rpm: Header V3
> DSA signature: NOKEY, key ID 6b8d79e6
> error: Failed dependencies:
>        python-elementtree conflicts with
> python-celementtree-1.0.5-1.2.el5.rf.x86_64

That's a separate package and *should* not conflict..

> yet when I query the package I get:
> [root at tusker ~]# rpm -q python-celementtree-1.0.5-1.2.el5.rf.x86_64.rpm
> package python-celementtree-1.0.5-1.2.el5.rf.x86_64.rpm is not installed
> and when I try to remove it I get:
> [root at tusker ~]# rpm -e ./python-celementtree-1.0.5-1.2.el5.rf.i386.rpm
> error: package ./python-celementtree-1.0.5-1.2.el5.rf.i386.rpm is not
> installed

When you do a query, just use the basename:

rpm -q python-celementtree