rawhide report: 20060716 changes

Tom London selinux at gmail.com
Sun Jul 16 20:03:50 UTC 2006

On 7/16/06, Michal Jaegermann <michal at harddata.com> 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!
Tom London

More information about the test mailing list