Bug 691820

Summary: pkgorder ends with traceback
Product: Red Hat Enterprise Linux 5 Reporter: Daniel Mach <dmach>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 5.7CC: tkopecek
Target Milestone: beta   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-29 14:46:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Daniel Mach 2011-03-29 14:42:23 UTC
$ /usr/lib/anaconda-runtime/pkgorder
Traceback (most recent call last):
  File "/usr/lib/anaconda-runtime/pkgorder", line 32, in ?
    from yuminstall import YumSorter
  File "/usr/lib/anaconda/yuminstall.py", line 32, in ?
    from packages import recreateInitrd
  File "/usr/lib/anaconda/packages.py", line 27, in ?
    import fsset
  File "/usr/lib/anaconda/fsset.py", line 35, in ?
    import bootyutil
ImportError: No module named bootyutil

Looks like sys.path record is missing somewhere.

Comment 1 Chris Lumens 2011-03-29 14:46:49 UTC
pkgorder is not meant to be run outside of the anaconda scripts system.  It is executed from buildinstall which sets PYTHONPATH prior to running it.