(imported topic written by SystemAdmin)
I would like to check version of an rpm, but if both a 32bit and a 64bit version of the same rpm are installed I get errors. Login to get T/F on existence and/or version.
Q: versions of package “pam” of rpm
A: 0.99.6.2-6.el5_5.2
E: Singular expression refers to non-unique object.
Q: versions of packages “pam” of rpm
A: 0.99.6.2-6.el5_5.2
A: 0.99.6.2-6.el5_5.2
Q: versions of packages “pam” of rpm < " as version
E: A singular expression is required.
(imported comment written by SystemAdmin)
Correction on last statement
Q: versions of packages “pam” of rpm < " as version
E: A singular expression is required.
Q: version of package “pam” of rpm < “0.99” as version
A: False
E: Singular expression refers to non-unique object.
(imported comment written by Lee Wei)
Try this as it should work for you:
exists versions whose (it > “0.99” as version) of packages “pam” of rpm
Lee Wei
(imported comment written by Lee Wei)
I got the greater/less than symbol flipped from your original…