rawhide report: 20060716 changes
Michal Jaegermann
michal at harddata.com
Sun Jul 16 19:31:51 UTC 2006
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
More information about the test
mailing list