I checked all the packages. The error complains about kernel-smp package ... which I know is there. It looks like Michael was right. But now I am trying to build a 32 bit distro on 64 bit platform and I am running to different problem. Everything goes well with the creation process but when the media loads, it says it doesn't support the long mode... please use 32 bit system. Joy. Chris -----Original Message----- From: kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-bounces@xxxxxxxxxx] On Behalf Of Lambert Tran Sent: Friday, March 03, 2006 3:38 PM To: Discussion list about Kickstart Subject: Re: Pkgorder of x86_64 RHEL 4.2 on i386 RHEL 4.2 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 _______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list