Results 1 to 1 of 1
Is there a way to query to see if a newer rpm than a given rpm is already installed on a system or not? That would be helpful in checking ...
- 06-23-2010 #1Just Joined!
- Join Date
- Jul 2006
- Posts
- 5
rpm queries for superseded rpms
Is there a way to query to see if a newer rpm than a given rpm is already installed on a system or not? That would be helpful in checking to see if a system's set of installed rpms exceeds (or is equal to) a minimum set of rpms using a canned list. For instance, if I have list of static rpms that contains, for instance,
rpmname-versionB-release1
and the system has
rpmname-versionC-release2
obviously the rpm that's installed on the system is newer than the version I'm checking for and therefore that would pass the test, but the check would fail if the system has
rpmname-versionA-release0
Is there way to check that easily with the rpm command, or is there a script that does it, or do I have to write some elaborate script that would break down the names of installed rpms and check them against my list? My preference is to use an existing solution, of course!
Thanks.
Ron


Reply With Quote