Re: Transaction Set API query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Jul 2009, Vinay Kalkoti wrote:

Hi,

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 -
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux