How do we do a query for collecting the exact version of a particular rpm or package installed. I sometimes run into trouble trying to load an rpm which may be older than the one I have. I want to write a script which will get the version number of the rpm installed so that we know if the current rpm is newer or not.
RC