Hi Panu, Mats, Thanks for your suggestions, I have a little progress. But now I am stuck with the execution of the %pre script. I have tried to increase the verbosity level by calling rpmIncreaseVerbosity () twice. I have the logs below as well as the script. I have pored over it for quite some time without getting at what could be wrong. Please let me know if you guys spot something unusual in the script below. <----------------------------- RPM Installation LOG -------------------------> D: ========== recording tsort relations D: Requires: /bin/sh YES (added provide) D: ignore package name relation(s) [12] pam -> initscripts D: ignore package name relation(s) [13] initscripts -> sysklogd D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth) D: 0 0 0 0 0 +hub1000-3.2.0.3-1 D: closed db index /var/lib/rpm/Providename D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm/Packages D: opening db environment /var/lib/rpm/Packages joinenv D: opening db index /var/lib/rpm/Packages create mode=0x42 D: getting list of mounted filesystems D: sanity checking 1 elments D: computing 2 file fingerprints Preparing... D: computing file dispositions D: opening db index /var/lib/rpm/Basenames create mode=0x42 ########################################### [100%] D: ========== +++ hub1000-3.2.0.3-1 D: Expected size: 4259013 = lead(96)+sigs(180)+pad(4)+data(4258733) D: Actual size: 4259013 D: relocating directory /opt/running/ to /opt/nimStandby/ D: install: hub1000-3.2.0.3-1 has 2 files, test = 0 D: opening db index /var/lib/rpm/Name create mode=0x42 D: read h# 38 Header SHA1 digest: OK (e6e29bdd387de3521d46a11c2cfc3add616b1f97) D: install: %pre(hub1000-3.2.0.3-1) asynchronous scriptlet start <----Just Hangs after this----> This is the %pre script in the spec file: %pre if [ ! -d /opt/running ] ; then mkdir /opt/running fi if [ ! -L /opt/nimRunning ] ; then ln -sf /opt/running /opt/nimRunning fi if [ ! -L /opt/imlRunning ] ; then ln -sf /opt/running /opt/imlRunning fi if [ ! -d /opt/standby ] ; then mkdir /opt/standby fi if [ ! -L /opt/nimStandby ] ; then ln -sf /opt/standby /opt/nimStandby fi if [ ! -L /opt/imlStandby ] ; then ln -sf /opt/standby /opt/imlStandby fi Thanks, Ram Prakash. R _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list