Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-05-2005, 07:31 PM   #1
Registered: Aug 2004
Location: Hyderabad, India
Distribution: Fedora Core 4
Posts: 183

Rep: Reputation: 30
Unhappy YUM and .hdr ... does anyone know the specifications?

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??


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check system specifications? Niceman2005 Linux - Newbie 5 04-25-2005 04:21 AM
command which provides the specifications of my PC kpachopoulos Linux - General 3 11-03-2004 05:31 PM
Getting hardware specifications Bill Cosby Linux - Hardware 2 09-01-2004 01:53 PM
Distro version suitability for different box specifications esteeven Linux - Distributions 6 09-02-2003 02:40 PM
.hdr files sts_cat Linux - Newbie 2 04-11-2002 03:08 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration