[Yum] Bad magic number in /usr/share/yum/yummain.pyc

James A Williams jwilliams at us.ibm.com
Tue Apr 25 15:14:02 UTC 2006


Hi,

When I try and run yum update I get

[root at fhwamain yum-1.0.3]# yum update
Traceback (most recent call last):
  File "/usr/bin/yum", line 22, in ?
    import yummain
ImportError: Bad magic number in /usr/share/yum/yummain.pyc

I found someone with the same error had installed a new version of python.
I removed my new version of python but still get the same error.

[root at fhwamain yum-1.0.3]# rpm -qa | grep python
python-popt-0.8.8-7.x.2
python-clap-1.0.0-3
python-xmlrpc-1.5.1-7.x.3
rpm-python-4.0.4-7x.18
python-1.5.2-43.73
python-devel-1.5.2-43.73
[root at fhwamain yum-1.0.3]#

Any ideas?

Thanks,
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20060425/77c4b2e6/attachment-0001.htm 


More information about the Yum mailing list