[CentOS] New yum search behavior is awful/useless

Sat Jun 28 19:31:14 UTC 2008
Kai Schaetzl <maillists at conactive.com>

AnneWilson wrote on Sat, 28 Jun 2008 19:02:02 +0100:

> I 
> think 'yum list' may be what you are looking for.

It's close, but lacks functionality that search had.
You have to enable showdupesfromrepos=1 and even then you get not all 
info:

yum list perl-MIME-tools

Installed Packages
perl-MIME-tools.noarch                   5.420-2.el5.rf         installed
Available Packages
perl-MIME-tools.noarch                   5.420-1.el5.rf         rpmforge

You have to *assume* that the -2 package came from rpmforge (in the case 
of rpmforge it's also marked by "rf", but that's not necessarily the case 
with other repo's), the old search listing was like this:

perl-MIME-tools.noarch                   5.420-1.el5.rf         rpmforge
perl-MIME-tools.noarch                   5.420-2.el5.rf         rpmforge
perl-MIME-tools.noarch                   5.420-2.el5.rf         installed


Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com