[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Pkgorder of x86_64 RHEL 4.2 on i386 RHEL 4.2



That error actually looks like you are serving up a 64-bit installer kernel/initrd to a 32-bit client. I have not tried running one of my installers from a 64-bit platform. Try replacing the installer kernel/initrd again with the correct 32-bit images that you are trying to install, just to be sure. Is this a PXE installer you are working on?

Kind Regards,
Michael

Pierzycki, Chris (GE Healthcare, consultant) wrote:
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 redhat com
[mailto:kickstart-list-bounces redhat com] 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 rackspace com> 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 redhat com
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 redhat com
https://www.redhat.com/mailman/listinfo/kickstart-list


_______________________________________________
Kickstart-list mailing list
Kickstart-list redhat com
https://www.redhat.com/mailman/listinfo/kickstart-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]