Re: detecting 32-bit verses 64-bit RPMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave Mitchell wrote:
On my x86_64 FC4 system, I see some duplicated RPMs:


    # rpm -q mysql
    mysql-4.1.15-1.FC4.1
    mysql-4.1.15-1.FC4.1
    #

I'm assuming that these are 32-bit and 64-bit versions. My two questions
are:

How can I list them in such a way that distingushes them?

$ rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' mysql

How can I select just one of them? For example,
    rpm -ql mysql-4.1.15-1.FC4.1
appears to list both 32-bit and 64-bit files.

$ rpm -ql mysql-4.1.15-1.FC4.1.i386
$ rpm -ql mysql-4.1.15-1.FC4.1.x86_64

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux