[Yum] [PATCH] Fix same arch duplicate checking in package-cleanup

James Antill james-yum at and.org
Wed Mar 25 13:41:01 UTC 2009


Ville Skyttä <ville.skytta at iki.fi> writes:

> The attached patch fixes same-arch duplicate checking in package-cleanup.py in 
> current yum-utils git.
>
> Test case: install two versions of same package and same arch (possibly 
> with --force), run ./package-cleanup.py -d.  I tested with tomcat-native on 
> x86_64, F-9.
>
> By the way, I think it's somewhat weird that isDuplicate(a1,a2) returns False 
> if a1 and a2 are the same arch.  That code path isn't executed at all after 
> this patch though.

 Added, thanks.

-- 
James Antill -- james at and.org


More information about the Yum mailing list