Description of problem: When trying to create a RHEL 3 U3 kickstart tree for E64MT machines, pkgorder fails. Version-Release number of selected component (if applicable): anaconda-runtime-9.1.3-3.RHEL.i386.rpm How reproducible: Customer is trying to create a kickstart tree for 64-bit X86_64 (E64MT, actually) on a 32-bit box. Customer is attempting to use the following command sequence (works for 32-bit U3 build): /usr/lib/anaconda-runtime/genhdlist --withnumbers <rhel-dir> /usr/lib/anaconda-runtime/pkgorder <rhel-dir> x86_64 \ > <rhel-dir>/RedHat/base/pkgorder /usr/lib/anaconda-runtime/genhdlist --fileorder \ <rhel-dir>/RedHat/base/pkgorder <rhel-dir> Steps to Reproduce: 1. Explode the contents of RHEL 3 U3 ISO's into <rhel-dir> 2. Run the commands above in the above order Actual results: # /usr/lib/anaconda-runtime/pkgorder \ /var/redhat/RedHat/3.0AS_Update3_x86_64/tree/latest x86_64 \ > /var/redhat/RedHat/3.0AS_Update3_x86_64/tree/latest/RedHat/base/pkgorder Traceback (most recent call last): File "/usr/lib/anaconda-runtime/pkgorder", line 179, in ? pkgOrder.append(hdlist[package].nevra()) File "/usr/lib/anaconda/hdrlist.py", line 409, in __getitem__ raise KeyError, "No such package %s" %(item,) KeyError: No such package kerne Expected results: Additional info:
pkgorder must be run on the same arch as the tree you're trying to build.