Red Hat Bugzilla – Bug 110037
Won't start at all
Last modified: 2007-04-18 12:59:28 EDT
Description of problem:
Yum refuses to start at all.
Version-Release number of selected component (if applicable):
[~#] yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 22, in ?
ImportError: Bad magic number in /usr/share/yum/yummain.pyc
2.0.4-2 works perfect.
It doesn't seem to matter what arguments I give, I get the same result
Hmmm, this smells like python-2.3.2.
What happens if you rename the *.pyc file, causing python to
recompile from the *.py?
On the opposite, it seems that this was a problem from running python
2.2.3. Upgrading pythong to 2.3.2 seems to have fixed it.
The reason for not upgrading python in the first place was that it
broke some dependencies. Hope this will be fixed too.
Well, yum works now. I'm closing this bug, marking it as NOTABUG. I
guess the dependencies of yum are wrong though if it needs python 2.3.2...