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

Ville Skyttä ville.skytta at iki.fi
Wed Mar 25 07:03:03 UTC 2009


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.

Also, the singleLib/multiLib stuff doesn't list ppc or ppc64, should it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-same-arch-duplicate-checking.patch
Type: text/x-diff
Size: 1315 bytes
Desc: not available
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20090325/fb11d9b7/attachment.bin>


More information about the Yum mailing list