Re: duplicate rpm

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

 



On Thu, 2008-12-11 at 15:25 +1100, L wrote:
> 
> 
> On Thu, Dec 11, 2008 at 3:18 PM, L <yuanlux@xxxxxxxxx> wrote:
>         Hi, 
>         my system is F9 X86_64, updated. I found there are duplicate
>         rpms in my system eg
>         
>         yum-3.2.19-3.fc9.noarch
>         yum-3.2.14-10.fc9.noarch
>         
>         openldap-2.4.10-2.fc9.x86_64
>         openldap-2.4.8-3.fc9.x86_64
>         
>         It seems ok to remove old version. I suspect there are more
>         duplicates. How to identify them?
>         
>         thanks
>          Y
> 
> I identified them using script:
> 
>   rpm -qa | awk -F\. '{print $1, $(NF) } '  x | sort | uniq -c | awk
> '$1 > 1'  > dup.rpm.list
> 
> There are 300+, how to efficiently remove older ones?
----
yum install yum-utils
package-cleanup --dupes
package-cleanup --cleandupes

Craig

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux