Bug 120165 - Wildcard behaves different than in shell expansions...
Summary: Wildcard behaves different than in shell expansions...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-06 15:13 UTC by Richard Schaal
Modified: 2014-01-21 22:49 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-04-06 15:15:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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?


Note You need to log in before you can comment on or make changes to this bug.