LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   YUM and .hdr ... does anyone know the specifications? (https://www.linuxquestions.org/questions/programming-9/yum-and-hdr-does-anyone-know-the-specifications-350432/)

_UnPrEdictAbLe_ 08-05-2005 07:31 PM

YUM and .hdr ... does anyone know the specifications?
 
Hi,
I am doing a project which requires me to understand what possibly the .hdr file which YUM downloads from the repository contains? I need to parse it somehow and extract the information contained about the dependencies/provides/etc. about the particular RPM which the header corresponds to.

I tried to open the RPM and hdr files of a package. It is not the case that the beginning of the RPM is similar to the hdr. But, after ignoring some bytes, the RPM and hdr contain similar data.

I also tried to read YUM sourcecode, but its hard to figure out the place where it is actually making the HDR file reveal the package info. The RPM API specification always mentions information extraction from RPM files.

Can anyone help me find C functions in the RPM API to somehow use the .HDR files??


All times are GMT -5. The time now is 05:57 AM.