[WBEL-users] 64-bit lib adventure

Jerry Amundson jerry at pbs.com
Tue May 30 16:30:27 CDT 2006


Short question : Why are i368 rpm's on the x86_64 iso's?

Long question : 
Trying an install to an image file (for xen, in this case) from a local 
repo (also an x86_64 WBEL 4 system), something like...

dd if=/dev/zero of=/u0/xen/xen1r.img bs=1M count=2 seek=1024
/sbin/mke2fs -F -j /u0/xen/xen1r.img
mount -o loop /u0/xen/xen1r.img /mnt
for i in console null zero ; do /sbin/MAKEDEV -d /mnt/dev -x $i ; done
mkdir /mnt/etc
mkdir /mnt/proc
mount -t proc none /mnt/proc
cat - > /mnt/etc/fstab<<EOF
/dev/sda1               /                       ext3    defaults 1 1
none                    /dev/pts                devpts  gid=5,mode=620 0 0
none                    /dev/shm                tmpfs   defaults 0 0
none                    /proc                   proc    defaults 0 0
none                    /sys                    sysfs   defaults 0 0
yum -c /root/yum-xen.conf --installroot=/mnt -y groupinstall Base

Results in...
Error: Missing Dependency: libaudit.so.0 is needed by package pam
Error: Missing Dependency: cracklib-dicts at i386 = 2.7-29 is needed by package cracklib

Did various things to succeed (will narrow it down for the next install),
including...
yum.conf:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
#Added line for the Box to stay x86_64 clean
exclude=*.i386 *.i686 *.i586

Also removed the audit-libs, cracklib, and pam "i386" packages from
my /var/ftp/pub repo, and running...
createrepo -x "*.i386.rpm" -g WhiteBox/base/comps.xml .

jerry


More information about the Whitebox-users mailing list