Bug 136280

Summary: in /usr/bin/yum is wrong setting of path in sys.path.insert
Product: [Fedora] Fedora Reporter: Pavel Lisy <pali>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: katzj
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: 2006-02-21 19:06:26 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 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.