Bug 110037 - Won't start at all
Summary: Won't start at all
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: yum
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-14 11:12 UTC by Daniel Malmgren
Modified: 2007-04-18 16:59 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-11-21 13:34:17 UTC
Embargoed:


Attachments (Terms of Use)

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...


Note You need to log in before you can comment on or make changes to this bug.