Transaction Set API query
pmatilai at laiskiainen.org
Thu Aug 13 08:28:23 UTC 2009
On Wed, 29 Jul 2009, Vinay Kalkoti wrote:
> I am not sure if this is the right forum. I am using Transaction Set
> API to install RPM packages on my system. I have rpm database in the
> non-standard location.
> Is it possible to point to the rpm database using the Transaction Set API ?.
There's no direct rpmts API for it but you can point %_dbpath macro to the
location of the database, eg:
addMacro(NULL, "_dbpath", NULL, "/path/to/your/rpmdb/", RMIL_DEFAULT);
That needs to be done before opening the database directly or indirectly.
- Panu -
More information about the Rpm-list