From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205 Epiphany/1.9.6 Description of problem: If yum gets interrupted during an update of a package, it may not call cleanup. It would be good to have a yum util that checks for dupes of packages. e.g. find these: $ rpm -q vixie-cron vixie-cron-4.1-42.FC5 vixie-cron-4.1-44.FC5 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: x Additional info:
We're working on various ways to avoid this problem but in the meantime would it be reasonable for this feature to be in the package-cleanup script in yum-utils?
That would be great!
okay I added package-cleanup --dupes it will sort the rpmdb and produce the lists it ignores: 1. kernels b/c they can have dupes 2. gpg-pubkey 'packages' for obvious reasons 3. multilib 'duplicates' it will print out anything else. It up to the user to figure out which one they want to remove (though they should probably remove both and reinstall one of them)
Can you tell me which version this will be in? I'm using rawhide version yum-utils-0.5-1.
it'll be in 0.6. hopefully I'll push that out in a few days.