We had troubles since our application run during rpm installation.
In the future we would like to know if the rpm command is currently installing rpm packages.
Maybe I am missing the matching keywords, but I could not find a way to detect this with my favourite search engine.
How to detect if a rpm install is currently running?