detecting 32-bit verses 64-bit RPMs

Gilboa Davara gilboada at netvision.net.il
Tue Dec 6 16:21:47 UTC 2005


On Tue, 2005-12-06 at 16:14 +0000, 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?
> 
> 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.
> 
> -- 
> This is a great day for France!
>     -- Nixon at Charles De Gaulle's funeral
> 

rpm -q mysql --queryformat="%{name}-%{arch}\n"

Gilboa




More information about the users mailing list