On Fri, 2007-02-23 at 16:24 -0600, Troy Dawson wrote:
> Here is the function I want to use
> getHdrList()
> Which I am using to get a list of all the currently installed rpms with 
> this call
> conduit.getRpmDB().getHdrList()
> 
> I even looked at the cvs logs, hoping maybe they gave a hint as to what 
> I was supposed to use, but all it said when these were put in was
> "emit deprecation warnings for annoying functions in rpmsack/rpmdbholder"
> 
> What am I supposed to use instead of getHdrList()?

The rpmdb is now a package sack just like everything else; you can get a
list of package objects for every installed package with
conduit.getRpmDB().returnPackages().  Then, if you need the actual
header (as opposed to the po), you can just look at po.hdr

Jeremy

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to