[Yum] Dump headers to a text/xml file
skvidal at phy.duke.edu
Thu Jun 24 05:59:27 UTC 2004
On Wed, 2004-06-23 at 16:27 -0700, Alpesh Sheth wrote:
> I meant a .hdr file from YUM's ftp/http site. I am interested in finding out the following information from the .hdr file how would I get to that:
> 1. File lists
> 2. Package Description
> 3. Features/Libraries it provides
> 4. Required list
> 5. Conflict list
> 6. Obsoletes list
> and more.
> Is there a utility/program that can help me achieve this?
It's just a compressed rpm header. Look in rpmUtils.py in yum and see
how it's done there. It's pretty simple.
More information about the Yum