[nzlug] yum search format
Patrick Connolly
tuxkid at slingshot.co.nz
Fri Oct 26 20:51:54 NZDT 2007
Somewhere about Fri, 26-Oct-2007 at 05:33PM +1300 (give or take), Jim
Tittsler wrote:
|> $ yum list "vim*"
|> Loading "installonlyn" plugin
|> Setting up repositories
|> Reading repository metadata in from local files
|> Installed Packages
|> vim-X11.i386 2:7.0.235-1.fc6 installed
|> vim-common.i386 2:7.0.235-1.fc6 installed
|> vim-enhanced.i386 2:7.0.235-1.fc6 installed
|> vim-minimal.i386 2:7.0.235-1.fc6 installed
|> Available Packages
|> vim-vimoutliner.noarch 0.3.4-9.fc6 extras
|>
|> (The -C switch to only check the cache is typical.)
However, it's still much slower in my experience than the equivalent
aptitude call. It's as though aptitude uses an indexed database and
yum searches without an index EVERY time.
On the other hand, I never worked out how the apt system does that's
equivalent to
rpm -qf <file-of-interest>
I waded through lots of documentation but never managed to find it.
Since it's so nifty at other things, I'd be surprised if aptitude
doesn't have an equivalent way of finding which package a file is
from.
--
___ Patrick Connolly
{~._.~}
_( Y )_ Good judgment comes from experience
(:_~*~_:) Experience comes from bad judgment
(_)-(_)
More information about the NZLUG
mailing list