Bug 136280 - in /usr/bin/yum is wrong setting of path in sys.path.insert
Summary: in /usr/bin/yum is wrong setting of path in sys.path.insert
Keywords:
Status: CLOSED DUPLICATE of bug 136172
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-19 04:22 UTC by Pavel Lisy
Modified: 2014-01-21 22:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:06:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pavel Lisy 2004-10-19 04:22:37 UTC
Description of problem:
yum crash with message:
Traceback (most recent call last):
  File "/usr/bin/yum", line 6, in ?
    import yummain
ImportError: No module named yummain

error is in line 4 of "/usr/bin/yum":

sys.path.insert(0, '/home/skvidal/cvs/yum-HEAD')

correct is:
sys.path.insert(0, '/usr/share/yum-cli')

Version-Release number of selected component (if applicable):
2.1.8-1

How reproducible:
always

Steps to Reproduce:
1. run yum
2.
3.
  
Actual results:

Traceback (most recent call last):
  File "/usr/bin/yum", line 6, in ?
    import yummain
ImportError: No module named yummain


Expected results:
working yum 

Additional info:

Comment 1 Bill Nottingham 2004-10-19 04:50:48 UTC

*** This bug has been marked as a duplicate of 136172 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:06:26 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


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