Re: rawhide report: 20060716 changes

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

 



On Sun, 2006-07-16 at 13:03 -0700, Tom London wrote:
> On 7/16/06, Michal Jaegermann <michal@xxxxxxxxxxxx> wrote:
> > On Sun, Jul 16, 2006 at 12:04:38PM -0700, Tom London wrote:
> > > I use the following bash alias to produce a list of all the duplicate
> > > packages:
> > >     alias rpmDups='rpm -q `rpm -qa --qf "%{NAME}\n" | sort | uniq -d`'
> >
> > Not good enough in general.  You need at least %{ARCH} in a querry
> > format or you will get a lot false positives in a multilib
> > situation.  With that added it is possible to miss some duplicates
> > when %{ARCH} changed between 'noarch' and something more specific
> > (this happened on some occasions) but chances are pretty small.
> >
> > That script from
> > http://fedoraproject.org/wiki/Tools/yum?highlight=%28yum%29
> > does much better job (even if it could be done in a simpler way).
> >
> >    Michal
> >
> Better!  Thanks!

also there is the -d option of package-cleanup found in the yum-utils
package.

$ package-cleanup --help | grep dupes
  -d, --dupes          Scan for duplicates in your rpmdb


cheers
-- 
Lars

Mail terraformers@xxxxxxxxx
Web http://researchlab.terraformers.de
No Big Brother! http://kai.iks-jena.de/bigb


-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]