1
votes

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

1

1 Answers

1
votes

Up to install4j 7.0.3, the RPM archive media file type does not support dependencies.

Starting with the upcoming 7.0.4 release, you can configure dependencies on the "Installer options" step of the media wizard.

Please contact [email protected] to get a build where this is already supported.