Bug 120165

Summary: Wildcard behaves different than in shell expansions...
Product: [Fedora] Fedora Reporter: Richard Schaal <rschaal_95135>
Component: yumAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-06 15:15:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard Schaal 2004-04-06 15:13:20 UTC
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
Resolving dependencies
..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):
yum-2.0.6-1

How reproducible:
Always

Steps to Reproduce:
1. install FC2 test 1 with everything option
2. yum --exclude 'XFree86*' update
3.
    

Actual Results:  The wild card expansion of 'XFree86*' failed to match
'XFree86'

Expected Results:  The 'XFree86' pqackage should also have been excluded.

Additional info:

Comment 1 Seth Vidal 2004-04-06 15:15:54 UTC
This isn't an exclusion failure - the installed deps are causing the
problem.

run yum upgrade and let it obsolete XFree86* for xorg-x11


Comment 2 Richard Schaal 2004-04-06 15:39:08 UTC
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
installed dependencies.

Maybe the bug should read that YUM diagnostic messages have no
relation to what is really the problem?