Bug 160779

Summary: Installer crashes when running ts.order() in packages.py
Product: [Fedora] Fedora Reporter: Dirk Maaß <dm>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Mike McLean <mikem>
Severity: low Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-17 15:43:16 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 Dirk Maaß 2005-06-17 09:07:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.8) Gecko/20050511

Description of problem:
When building a distribution and not adding the "--fileorder" option to genhdlist, the installer crashes when running ts.order() in packages.py.

Last log message is:
"WARNING: not all packages in hdlist had order tag"

As a workaround:
You should exec the following sequence:

cd /usr/lib/anaconda-runtime
./genhdlist --productpath Fedora <distdir>
./pkgorder <distdir> i386 Fedora > /tmp/pkgorder.list 
./genhdlist --fileorder /tmp/pkgorder.list --productpath Fedora <distdir>


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

How reproducible:
Always

Steps to Reproduce:
Simply run the second "genhdlist..." without the "--fileorder" option.

Actual Results:  The installer crashed abnormally

Additional info:

Comment 1 Jeremy Katz 2005-06-17 15:43:16 UTC
That's always been the way that you're supposed to run things.  In FC4, we don't
have rpmlib crash out, though.