Red Hat Bugzilla – Bug 120165
Wildcard behaves different than in shell expansions...
Last modified: 2014-01-21 17:49:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115
Description of problem:
The problem is that '*' should match even zero characters...
Here's the example...
[root@snowwhite rds]# yum --exclude 'XFree86*' update
Gathering header information file(s) from server(s)
Server: Fedora Core 1.90 - Development Tree
Finding updated packages
Downloading needed headers
..Package XFree86 needs XFree86-xfs that has been excluded.
Package XFree86 needs XFree86-libs that has been excluded.
Package XFree86-twm needs XFree86-libs that has been excluded.
Package XFree86-devel needs XFree86-libs that has been excluded.
'XFree86*' should have matched 'XFree86' as well as the other
packages. - it would on a shell wildcard expansion.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install FC2 test 1 with everything option
2. yum --exclude 'XFree86*' update
Actual Results: The wild card expansion of 'XFree86*' failed to match
Expected Results: The 'XFree86' pqackage should also have been excluded.
This isn't an exclusion failure - the installed deps are causing the
run yum upgrade and let it obsolete XFree86* for xorg-x11
I might buy that, but the command line "clearly" wants yum to exclude
any and all XFree86. It didn't, and it didn't complain about
Maybe the bug should read that YUM diagnostic messages have no
relation to what is really the problem?