yum blew up python?
Dave Stevens
geek at uniserve.com
Mon Jan 29 18:30:57 UTC 2007
On Monday 29 January 2007 09:41, Todd Zullinger wrote:
> Dave Stevens wrote:
> > [root at localhost downloads]# rpm --verify yum
> > S.5....T c /etc/yum.conf
> >
> > I don't know what to make of this
>
> That just means that your yum.conf file has been modified. Perhaps
> you changed some settings there? I don't think that's causing the
> problem you're having.
>
> > [root at localhost downloads]# yum -d 10
> > 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, Oct 23 2006, 14:19:45)
> > [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)]
>
> Okay, perhaps it'd be good to check the versions you have of yum,
> python, and python-elementtree. What's the output of:
>
> $ rpm -q python python-elementtree yum
[root at localhost tmp]# rpm -q python python-elementtree yum
python-2.4.3-9.FC5
python-elementtree-1.2.6-7.fc3.rf
yum-2.6.1-0.fc5
[root at localhost tmp]#
>
> There are a few entries in bugzilla with this error, one of them was
> caused by a python-elementtree update from RPMforge, something not
> provided by Fedora.
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=222012
well, I recently enabled rpmforge as a repo so presumably that's where it came
from. can I use rpm to remove and reinstall yum?
d
--
"The economy is a wholly owned subsidiary of the environment."
-- Herman Daly, former senior economist at the World Bank.
More information about the fedora-list
mailing list