> OK, the determination of which arch to use cannot be made until we are > knowledgeable about the arch of a existing package in the rpmdb? > > > I assume there are cases where a less optimized compile runs better on a > given system? > There is also the problem that determining them there is kinda fruitless - that's the best place to just evaluate the package lists to see what headers we need. This is kinda moot, of course b/c this part is disappearing. Have you looked at yum-HEAD/rpmUtils/updates.py and arch.py? That's where the new arch stuff is and I think the biarch support there is A LOT more exacting. -sv