[Yum] dulicates

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

 



On Thu, May 26, 2005 at 02:37:11PM -0230, Brent Payne alleged:
> Hi All;
> 
> Is there a way to search for and/or clean duplicate (version
> different) rpms installs?
> 
> Thanks for your time.

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

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20050526/85150711/attachment.bin

[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