I'm building an RPM installer with install4j. My installation contains few third party rpms that need to be installed, so after copying files to target directory, I want to run rpm -Uvh to install it. I tried to mention this command as a post-install script in Media --> installer options tab, however when installing my RPM getting warning
warning: waiting for transaction lock on /var/lib/rpm/.rpm.lock
and installation stuck. I believe that third party install process is blocked by currently running process that making dead-lock.
How can I overcome it?
Thanks