[Yum] dulicates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 26, 2005 at 10:25:47AM -0700, Garrick Staples wrote:
> Simple and quick way to find them:
>   rpm -qa --qf '%{NAME}\n' | sort > allrpms
>   rpm -qa --qf '%{NAME}\n' | sort -u > allrpms-unique
>   diff allrpms allrpms-unique

Or use "uniq -d". :) But either way, save a second or so and add  --nodigest
--nosignature:

$ time rpm -qa > /dev/null
real    0m1.664s
user    0m1.517s
sys     0m0.079s

$ time rpm --nodigest --nosignature -qa > /dev/null
real    0m0.331s
user    0m0.197s
sys     0m0.066s


-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 75 degrees Fahrenheit.

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux