Installing a source rpm with Python API
aurelien.degremont at cea.fr
Thu Oct 30 10:51:03 UTC 2014
I'm trying to install a source rpm with Python API, as a non-root user.
$ rpm -iv ... mypackage.src.rpm
I did not find a way to do that. I just find how to do a classic RPM
install (ts.addInstall(), ts.run()) but this locks the RPM database,
even if it will not modify it (as it is a source rpm), and so, need root
I found rpmInstallSourcePackage() in C source code, in lib/psm.c
but no equivalent in the Python binding.
How do to this?
Thanks in advance
More information about the Rpm-list