Posted on 2007-09-25 15:23:30-07 by yuravk
open_rpm_db() - gain exclusive lock, transactions new root directory
Hello,

I'm interest off using RPM2.

So, the following questions appears during the module research:

- is exclusive lock on RPM database gained when it is opened using open_rpm_db() method and then closed? If yes, which parameter required to be passed into the method? If no, is there an ability to implement that in future RPM2 releases?

- is there an ability to set new root directory (like rpm --root) when transactions (install, upgrade, and remove rpms) are managed?

Thanks in advance for any reply.
Best Regards

Yura
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.