On Mon, 2009-02-09 at 11:27 -0800, Creative Innovative wrote: > For example, lets say under posttrans_hook, > I loop through the transaction object and determine below > 1. Pkg A installed > 2. Pkg B upgraded. > > Now I run my security criteria, for files installed, and lets say Pkg > A fails that criteria. > > Qs 1) -->Now can I create a NEW TRANSACTION, like below > 1. Pkg A remove > > Qs 2) And then can I run this NEW TRANSACTION from posttrans_hook. > > Qs 3) If this wont work, is there any other way, where I can run > package removal, from posttrans_hook. > > Please let me know. > > Thanks in advance, > > Long and short - you can't run a transaction from posttrans... for what you're doing it sounds like you'd want to run a script wrapped around yum. Alternatively, look at the yum-security plugin - as it has information about security updates that might be more helpful. -sv _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum