caching the RPM package list
skvidal at fedoraproject.org
Wed Sep 8 01:09:14 UTC 2010
On Tue, 2010-09-07 at 16:13 -0700, Dave Peterson wrote:
> I have an application that periodically makes RPM library
> calls to find out what packages are installed on a machine.
> To reduce overhead, I'd like the application to cache this
> information. To implement this, I'd like to identify
> which file(s) contain the RPM database, and stat() these
> files to determine whether my cache needs updating. Does
> anyone know which file(s) I should stat()? Does the answer
> depend on which version of RPM is in use, or any other
> factors such as the manner in which RPM is configured?
More information about the Rpm-list