[Yum-devel] [PATCH] Remove skipped pkgs from updates and new processConflicts implementation

Tim Lauridsen tim.lauridsen at googlemail.com
Wed Feb 13 19:12:53 UTC 2008


Florian Festi wrote:
> Hi!
> 
> Reimplementing .processConflict() is on the todo list for too long now. 
> The first patch removes pkgs from updates (self.up) to avoid errors when 
> trying to update to an already skipped package (which is no longer found 
> in the .pkgSack). The second patch is the new processConflict 
> implementation which now get passed the conflicting package object. The 
> method just calls .update on both packages and tries to be smart which 
> to update first.
> 
> Comments?
> 
> Florian
> 
> Btw. One test case had to be adjusted as Yum is now capable of handling 
> this situation properly.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Look good to me,
This should make it possible to remove the try/except DepError hack in 
_processReq ?

No broken tests and yum --enablerepo=development update --skip-broken works.

Tim



More information about the Yum-devel mailing list