Red Hat Bugzilla – Bug 168702
Yum search should be inclusive
Last modified: 2014-01-21 17:52:31 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050909 Fedora/1.0.6-1.2.fc4 Firefox/1.0.6
Description of problem:
Yum search of several terms is painful. When I search with "yum -C search python postgres", I'd like to see all packages related to python and postgres, ie: the postgres module(s) for python.
Instead of that, I have all python packages, then all postgres packages...
I'm using sometimes yum -C list python*postgres sometimes, but it's a miracle when I find the first time what I'm looking for.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum -C search something something else
Actual Results: Lots of useless (uncolorized) lines
Expected Results: only a few line
The actual result of apt-cache search on debian distros is quite good, and really, really faster than yum, even with '-C' param.... :(
If you specify multiple terms, then they're searched for separately. If you
want to search for both terms, then a regex like you used is the way to go.