How to query rpm DB to find only i586 rpms ?

Hi.

Is it possible to query the rpm db (using any command line / gui) to
find out which RPMS’s I have installed that are i586 architecture ?

I am running amd64 opensuse 11.1 but have installed some i586 rpms
through yast.

Anyone know how to find out which ones without checking the version
numbers of every single installed rpm (my present method for checking)

I know that some rpms have 32bit in the name however you can also
install the i586 version of the rpm (i.e flash player)

I can’t find out using

rpm -qva

That doesn’t give the architecture

Cheers


interzoneuk

interzoneuk’s Profile: http://forums.opensuse.org/member.php?userid=403
View this thread: http://forums.opensuse.org/showthread.php?t=404196

rpm -qa --queryformat "%{name} - %{arch}
" | grep “i586$”


benjimanw

benjimanw’s Profile: http://forums.opensuse.org/member.php?userid=138
View this thread: http://forums.opensuse.org/showthread.php?t=404196

Thanks thats exactly what i needed

Cheers!


interzoneuk

interzoneuk’s Profile: http://forums.opensuse.org/member.php?userid=403
View this thread: http://forums.opensuse.org/showthread.php?t=404196