It seems like you are missing some package. You try this and make sure all packages are in the RPMS: # cd to-your-RPMS-dir mkdir /tmp/testdb rpm --initdb --dbpath /tmp/testdb rpm --test --dbpath /tmp/testdb -Uvh *.rpm I would always do this first before I try the genhlist-pkgorder-genhlist stuffs. -lt --- Michael Shuler <mshuler@xxxxxxxxxxxxx> wrote: > Pierzycki, Chris (GE Healthcare, consultant) wrote: > > Traceback (most recent call last): > > File "/usr/lib/anaconda-runtime/pkgorder", line 209, in ? > > pkgOrder.append(hdlist[package].nevra()) > > File "/usr/lib/anaconda/hdrlist.py", line 422, in __getitem__ > > raise KeyError, "No such package %s" %(item,) > > KeyError: 'No such package kernel-smp' > > > > The following is the script I am using > > > > export PYTHONPATH=/usr/lib/anaconda > > export PATH=$PATH:/usr/lib/anaconda-runtime > > > > genhdlist $1 # Full path required > > pkgorder $1 x86_64 > /tmp/pkgorder.txt > > genhdlist --fileorder /tmp/pkgorder.txt $DIST > > Our installer runs AS-3_i386 - you need to trick genhdlist ;) > > Kind Regards, > Michael > > ===== > > michael@ares: ~ $ cat > /mnt/kickstart/redhat/rhas-4-64/RedHat/base/make_comps.sh > #!/bin/sh > > # This file should be put into /kickstart/<distro>/RedHat/base > # and be run on the kickstart server whenever we make a change > # to the RPM pool > > name=$(cd ../../;pwd) > > # run genhdlist > echo "Running genhdlist..." > > # to build x86_64 tree, we need to trick genhdlist and pkgorder > echo x86_64-redhat-linux > /etc/rpm/platform > > /usr/lib/anaconda-runtime/genhdlist --withnumbers $name > export PYTHONPATH=/usr/lib/anaconda > /usr/lib/anaconda-runtime/pkgorder $name i386 | > /exports/tools/pkgorder_fix.pl $name > $name/RedHat/base/filelist > /usr/lib/anaconda-runtime/genhdlist --withnumbers --fileorder > $name/RedHat/base/filelist $name > > # set back the correct /etc/rpm/platform > echo i686-redhat-linux > /etc/rpm/platform > > echo "Done." > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/kickstart-list > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com