On Thu, 15 Mar 2007, Spann, Elizebeth (Betsie) wrote:
Is there a way to determine if both 31 bit and 64 bit  versions of a
package are installed?   RPM returns only one line.

For example,
[EMAIL PROTECTED] kernel]# rpm -qa | grep xorg-x11-depre
xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.5

but the distribution lists
xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.5.s390
xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.5.s390x

sorry about the delay in responding
   try:  rpm -q --q '%{name}-%{version}-%{release}.%{arch}' \
         xorg-x11-deprecated-libs

and you should get the same result, if both are installed.
'arch' and 'epoch' are 'silent' in the customary RPM -q query
option by design, as they are to some degree 'latecomer'
features; as such there is a large universe of scripting which
would get VERY confused by a format change there.

See generally the long time RPM site, relocated to:
    http://www.oldrpm.org/
in light of recent changes in the hosting arrangements for the
RPM site.

-- Russ Herrold

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to