duplicate rpm
L
yuanlux at gmail.com
Thu Dec 11 22:24:26 UTC 2008
On Thu, Dec 11, 2008 at 3:37 PM, Craig White <craigwhite at azapple.com> wrote:
> On Thu, 2008-12-11 at 15:25 +1100, L wrote:
> >
> >
> > On Thu, Dec 11, 2008 at 3:18 PM, L <yuanlux at gmail.com> 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
>
thanks a lot, this fixes!!
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines:
> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081212/ca14d555/attachment-0001.htm>
More information about the fedora-list
mailing list