Re: yum and wildcard problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 4/17/07, Brian Barnes <bcbarnes@xxxxxxxxxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux