I was deleting some unneeded Samba RPMs today, since they're vulnerable to a security bug, and hit a snag on a 64-bit machine, where rpm was too stupid to handle the presence of both 32-bit and 64-bit RPMs. The error was 'error: "samba-common" specifies multiple packages'. The solution is simple but obscure: Add "--allmatches", as in "rpm -e --allmatches".

As it turns out, I can't really remove samba-common anyway, because it's required for kdebase, which is required for half the RPMs on the system, but now at least I know the trick for next time. RPM really needs to deal with multi-flavored packages better.