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

Re: querying for i386 versus x86_64 versions



On Tue, Mar 14, 2006 at 02:52:27PM -0800, Marcin Krzysztof Porwit wrote:
> I've noticed that on the 64-bit version of Fedora Core 4, when I query
> for certain packages, they show up twice. For example, and
> 	rpm -q samba-common
> shows that there are two copies of samba-common on the system:
> 	samba-common-3.0.14a
> 	samba-common-3.0.14a
> I guessed at the fact that one is an x86_64 version and the other is
> an i386 version, but I haven't been able to find a programmatic way
> of disambiguating this scenario. There don't seem to be flags to --query
> to provide this information, and it is not returned by --info.

rpm -q --qf '%{name}.%{arch}\n' samba-common


-- 
Matthew Miller           mattdm mattdm org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>


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