Installing RPM's inside %post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

I was having a problem when automating a software install via RPM, it is due to a python script that I run on %post that actually installs other RPMs, but it seems that for obvious reasons, when the script attempt to install the RPMs it fail because the lock is still there (the father RPM is still being installed) the install never goes on :

------------------------------------------------------------------------------------------------------------------------
[root@somehost ~]# rpm -ivh /share/apps/scratch/vdt-dcache-3.0-3.x86_64.rpm
Preparing...                ########################################### [100%]
   1:vdt-dcache             ########################################### [100%]

VDT install of dCache on:
2010-07-04 12:05:50.360732
Unpacking dCache server software.
* warning: waiting for transaction lock on /var/lib/rpm/__db.000 *
------------------------------------------------------------------------------------------------------------
Is there any obvious solution for that which I didn't see? I didn't wanted to unpack the RPM's and work on all of their %pre and %post sections inside my RPM, if this even work.

Thanks,
Samir
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux