Results 1 to 3 of 3

Thread: How to query rpm DB to find only i586 rpms ?

  1. #1

    Default 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

  2. #2

    Default Re: How to query rpm DB to find only i586 rpms ?

    rpm -qa --queryformat "%{name} - %{arch}\n" | grep "i586$"

  3. #3

    Default Re: How to query rpm DB to find only i586 rpms ? (solved)

    Thanks thats exactly what i needed

    Cheers!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •