<br><br><div class="gmail_quote">On Thu, Dec 11, 2008 at 3:37 PM, Craig White <span dir="ltr"><<a href="mailto:craigwhite@azapple.com">craigwhite@azapple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Thu, 2008-12-11 at 15:25 +1100, L wrote:<br>
><br>
><br>
> On Thu, Dec 11, 2008 at 3:18 PM, L <<a href="mailto:yuanlux@gmail.com">yuanlux@gmail.com</a>> wrote:<br>
>         Hi,<br>
>         my system is F9 X86_64, updated. I found there are duplicate<br>
>         rpms in my system eg<br>
><br>
>         yum-3.2.19-3.fc9.noarch<br>
>         yum-3.2.14-10.fc9.noarch<br>
><br>
>         openldap-2.4.10-2.fc9.x86_64<br>
>         openldap-2.4.8-3.fc9.x86_64<br>
><br>
>         It seems ok to remove old version. I suspect there are more<br>
>         duplicates. How to identify them?<br>
><br>
>         thanks<br>
>          Y<br>
><br>
> I identified them using script:<br>
><br>
>   rpm -qa | awk -F\. '{print $1, $(NF) } '  x | sort | uniq -c | awk<br>
> '$1 > 1'  > dup.rpm.list<br>
><br>
> There are 300+, how to efficiently remove older ones?<br>
</div></div>----<br>
yum install yum-utils<br>
package-cleanup --dupes<br>
package-cleanup --cleandupes<br>
<br>
Craig<br>
<font color="#888888"></font></blockquote><div><br>thanks a lot, this fixes!! <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888"><br>

--<br>
fedora-list mailing list<br>
<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>
To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a><br>
</font></blockquote></div><br>