(imported topic written by hermann_huebler@at.ibm.com)
I want to determine the currently installed version of WebSphere MQ on a RHEL system and using the following relevance expression: “maximum of versions of packages whose (name of it starts with “MQSeriesServer”) of rpm”
Sometimes and under certain conditions I’ve seen that maximum of versions returns an incorrect value. As you can see below the “versions of …” returns the correct version however the “maximum of versions …” returns an incorrect version.
Q: versions of packages whose (name of it starts with “MQSeriesServer”) of rpm
A: 7.0.1-3
T: 1259
Q: maximum of versions of packages whose (name of it starts with “MQSeriesServer”) of rpm
A: 7.0-4.33
T: 1188
After installing FP6 I get the following output when running: rpm -qa | grep MQSeriesServer:
MQSeriesServer-7.0.1-3
MQSeriesServer-U841561-7.0.1-6
and the relevance language returns:
Q: versions of packages whose (name of it starts with “MQSeriesServer”) of rpm
A: 7.0.1-3
A: 7.0.1-6
T: 208414
Q: maximum of versions of packages whose (name of it starts with “MQSeriesServer”) of rpm
A: 7.0-4.33
T: 1179
The only rpm packages of version 7.0-4.33 are:
rpm -qa | grep 7.0-4.33
gsk7bas-7.0-4.33
gsk7bas64-7.0-4.33
Any idea why I’m getting incorrect results here?