I have three x86_64 machines all running SL4.1. On two of them rpm -q
gives me the architecture, on the other it doesn't:

goodhost# rpm -q xorg-x11-libs
xorg-x11-libs-6.8.2-1.EL.13.16.x86_64
xorg-x11-libs-6.8.2-1.EL.13.16.i386

badhost#  rpm -q xorg-x11-libs
xorg-x11-libs-6.8.2-1.EL.13.16
xorg-x11-libs-6.8.2-1.EL.13.16

(rpm -qa does the same.)

This is an immense pain because, as you can see above, I have a number
of library packages in both i386 and x86_64 formats and I need a
reliable way of knowing what is installed on my system.

Any idea how I can persuade rpm to behave nicely? Both are running RPM
version 4.3.3.


Thanks

John