Results 1 to 3 of 3

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

  1. #1
    interzoneuk NNTP User

    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


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


  2. #2
    benjimanw NNTP User

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


    rpm -qa --queryformat "%{name} - %{arch}\n" | 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


  3. #3
    interzoneuk NNTP User

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


    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


Posting Permissions

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