On Thu, 18 Dec 2003 08:32:57 -0800 Garrick Staples <garrick@xxxxxxx> wrote: > On Thu, Dec 18, 2003 at 09:41:06AM -0500, seth vidal alleged: > > > > > $arch gives i686, not the i586 needed :-( > > > > arch gives the actual architecture of your system. > > i686 is it. > > > > basearch gives the basearch for your system. based on a scale of: > > i386: i386, i486, i586, i686, athlon, noarch > > > > my suggestion to you: just type i586 in there. > > That's what I did using yum on mdk. i586 really is the "best" value > for basearch on mdk. *shrug* Just type it in. > > Hey Seth, > How about making it equal to ``rpm --eval %_host_cpu''? That would > give the > correct results on every rpm-base distro/arch combo I can think of. > > -- > Garrick Staples, Linux/HPCC Administrator > University of Southern California > _______________________________________________ Garrick & Seth, I've got i586 in yum.conf and it works fine. Since Mandrake is a pentium and above distribution, it could be argued that it's base architecture is i586. "rpm --eval %_host_cpu" returns i686 for me, so it's not universally correct. The contents of /etc/mandrake-release is "Mandrake Linux release 9.2 (FiveStar) for i586". Reading /etc/$distroverpkg and extracting the last word would work.