[Yum-devel] Resolving dependencies for postresolve-plugin actions

Jeremy Katz katzj at redhat.com
Mon Feb 20 16:19:40 UTC 2006


On Mon, 2006-02-20 at 03:13 -0800, Panu Matilainen wrote:
> Just got reminded of something that has bothered me for a while now by
> getting bitten by it: we should have a second run of resolveDeps() if 
> postresolve-stage plugin changes the transaction set. Otherwise it can 
> leave rpmdb in inconsistent state - for example installonlyn plugin 
> decides to remove old kernels but any kernel-module packages depending on 
> it are still left on the system. Ditto for any other changes in 
> postresolve, not having postresolve actions depsolved limits its usability 
> in various other ways as well.
[snip]
> Another option would be to leave calling resolveDeps() up to the plugins 
> if they need it.

I was just planning on making the installonlyn plugin handle it itself,
but if we want to put the handling in core yum, I won't complain ;-)

Jeremy




More information about the Yum-devel mailing list