[WBEL-users] 64-bit lib adventure

Jerry Amundson <[email protected]>
Newsgroups gmane.linux.whitebox.user
Message-ID <[email protected]>
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@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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.