[Yum] dulicates

Adam C. Greenfield agreenfield at zervex.com
Thu May 26 17:20:36 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brent Payne wrote:
> Hi All;
> 
> Is there a way to search for and/or clean duplicate (version
> different) rpms installs?
> 
> Thanks for your time.
> 
> Brent

I'm not aware of any functionality like this in YUM itself, however:
rpm -qa --queryformat='%{NAME}\n' | sort | uniq -d

will provide you a quick list of packages on your system with multiple
versions installed.

- --
Adam C. Greenfield (agreenfield at zervex.com)
Zervex Server Solutions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFClgVj6ToOeu2XcK0RAjgDAJ9cwHT/iUHHmBlqaH7EyXR3ixLCBgCfXvV6
wxJBnHlLdHzMslmxWOYMHiE=
=PYOs
-----END PGP SIGNATURE-----



More information about the Yum mailing list