Re: rawhide report: 20060716 changes

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

 



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

-- 
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]