RPM and Detailed Querytag Research

Joe Wulf joe_wulf at yahoo.com
Wed Jun 6 22:04:30 UTC 2012


How can I get a listing of all the internal meta-data for any particular RPM, 
regardless of the OS, dot-release or architecture of the host platform, 
or the RPM itself?  On an RHEL 4.6 x32 system, how to get all of the 
internal RPM meta-data listed out of a RHEL 5.8 x64 bit rpm?  So, for 
example, the RHEL5.8 rpm could have something in the "PRIORITY" tag, 
that the 4.8 version of rpm might not know about. 


Alternatively,
 if I use the latest edition of the OS, can I safely iterate through all
 the querytags it knows about (for all the rpms), and get results when 
they exist?  In other words, would the latest edition of RHEL (6.2 
today) know about all the possible querytags used/available in all past 
editions of the OS (including back to RHEL3, yes really)? 


My
 concern is for meta-data inside an RPM (for querytag_XYZ) that the 
current installed instance of rpm might not know about.  How do I just 
query for what is 'in' the RPM itself regardless of the OS version, dot 
release or architecture (of either the host, or the RPM)? 

The 
basis for this is that I'm looking to develop a database which would 
contain meta-data about every rpm, from almost all rpm-based OSs (or, at
 least the important ones, like:  Red Hat, CENTOS, Fedora, Scientific 
Linux, Mint, etc...).  I've got the ISOs for all these OS's to iterate 
through for each RPM, but am researching for the optimal method to 
approach this. 


Thanks in advance for all the help, it really is appreciated. 

R, 
-Joe Wulf 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20120606/3b60d9fc/attachment.html>


More information about the Rpm-list mailing list