If you try to install a PPC.rpm on an intel machine you (usually) get the following message: error: failed dependencies: ld.so.1 is needed by zsh-3.0.5-15 when the correct error should be: package %s-%s-%s is for a different architecture The misleading error message seems to be because the dependencies are checked first, and then the arch, os, etc are checked next. It would be very helpful to check the arch/os first and then the dependencies.
This problem will be addressed after rpm-4.0 is released.
Confirmed bug still present in 8.0
rpm -q rpm; uname -m rpm-4.4.1-22.i386 i686 rpm -ivh yaboot-1.3.12-9.ppc.rpm Preparing... ########################################### [100%] package yaboot-1.3.12-9 is intended for a ppc architecture