I just created rpm package which contains few shell scripts and My rpm executes those shell scripts in post installation step ( i.e %post section).
My RPM is created successfully and when I run
rpm -ivh myrpmfile.rpm
RPM able to find my shell scripts and running them properly. Those scripts also install few other packages with yum so when yum try to install those packages it hangs with the following error
Warning: RPMDB altered outside of yum
Sometimes it hangs at the following state.
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction