[CentOS] yum and wildcard problems

Tue Apr 17 16:10:09 UTC 2007
Jim Perrin <jperrin at gmail.com>

On 4/17/07, Brian Barnes <bcbarnes at artsci.wustl.edu> wrote:
> I am having trouble using wildcards ("*") with yum in Centos 5.  Listing
> or installing packages using them just immeidately fails with a "No match"
> error, and I'm not sure why.  Here is an example.  Any comments?  I'd love
> to fix this.

> Similarly, something like "yum install xorg-x11-font*" would fail with a
> "No match" error, but the packages show up in a full list.
>
> The machine is a fresh x86_64 install from DVD, yesterday.  I previously
> ran CentOS 4.4 on it with no problems.

This will likely be a hit-or-miss shell expansion problem, as bash(or
whatever shell you're using) gets to the * before yum does.

Try something like the following:
yum list xorg-x11-font\*
or
yum list 'xorg-x11-font*'

with single ticks to prevent any unwanted shell foolishness.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell