Red Hat Bugzilla – Bug 170721
RPMs installed in alphabetical order when pkgorder not set
Last modified: 2007-11-30 17:07:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20040924
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. build an iso w/o defining package order w/ genhdlist
2. reboot and try installing
Actual Results: anaconda installs RPMs in alphabetical order instead of running ts.order() on the transaction set.
This diff fixes the problem:
--- hdrlist.py 2005-10-13 18:01:46.000000000 -0700
+++ anaconda-22.214.171.124/hdrlist.py 2004-07-27 16:51:37.000000000 -0700
@@ -345,7 +345,7 @@ class HeaderList:
preordered = 1
for h in self.pkgs.values():
- if h.isSelected() and not h:
+ if h.isSelected() and h == None:
preordered = 0
I just realized I ran the diff backward. You want the line to be "and not
h:" instead of "and h == None".
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
This bugfix seems to have introduced a serious bug into CentOS 3.7 build - we
had cd swapping at least 10 times to install. I removed this bugfix and it is
And anyway - surely not defining the package order w/genhdlist is the bug - not
what anaconda then does with it !!