Bug 110037

Summary: Won't start at all
Product: [Retired] Red Hat Raw Hide Reporter: Daniel Malmgren <dm>
Component: yumAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-11-21 13:34:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Malmgren 2003-11-14 11:12:34 UTC
Description of problem:
Yum refuses to start at all.

Version-Release number of selected component (if applicable):
2.0.4-3

How reproducible:
100%

Actual results:
[~#] 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

Additional info:
2.0.4-2 works perfect.
It doesn't seem to matter what arguments I give, I get the same result
anyway.

Comment 1 Jeff Johnson 2003-11-21 13:03:51 UTC
Hmmm, this smells like python-2.3.2.

What happens if you rename the *.pyc file, causing python to
recompile from the *.py?

Comment 2 Daniel Malmgren 2003-11-21 13:34:17 UTC
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...