yum blew up python?
Dave Stevens
geek at uniserve.com
Mon Jan 29 17:26:47 UTC 2007
On Monday 29 January 2007 09:19, Todd Zullinger wrote:
> Dave Stevens wrote:
> > [root at localhost ~]# rpm -V python-elementtree
> > [root at localhost ~]#
> >
> >
> > so I assume it is absent. But without yum how do I get it back?
>
> No, it exists and there are no problems there. If it didn't exist
> you'd see something like "package python-elementtree is not installed"
> instead. You could change -V to -q to confirm that it is installed.
>
> Then the question is why isn't yum finding the module it needs. Try
> running the rpm verify command on yum and see if something is amiss
> there. You might also want to run yum with a higher debug level and
> see if that tells you something useful (the -d option, followed by a
> debug level).
[root at localhost downloads]# rpm --verify yum
S.5....T c /etc/yum.conf
I don't know what to make of this
Then:
[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)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
which doesn't seem to achieve much
dave
--
"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