[CentOS] futex.. How to remove lots of duplicate packages

Joshua Baker-LePain jlb17 at duke.edu
Wed Mar 22 16:38:02 UTC 2006

On Wed, 22 Mar 2006 at 1:32pm, Rodrigo Barbosa wrote

> Hash: SHA1
> On Wed, Mar 22, 2006 at 08:12:04AM -0800, Dave wrote:
>> This is the second time on a version upgrade that I've been hit with
>> the futex wait issue. Last time I hung with about 5 packages to go,
>> this time it hung with about 50 packages on the clean up. Now I have
>> loads of duplicate packages, any way to search and/or remove them
>> without trying to do it manually?
> rpm -qa --qf "%{NAME}\n" | sort | uniq -d
> This should give us a list of duplicated packages.

Be careful with that -- it'll give false positives on x86_64 (or any other 
dual arch system).  Try:

rpm -qa --qf "%{NAME}.%{arch}\n" | sort | uniq -d

Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

More information about the CentOS mailing list