Bug 120165 - Wildcard behaves different than in shell expansions...
Wildcard behaves different than in shell expansions...
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Depends On:
  Show dependency treegraph
Reported: 2004-04-06 11:13 EDT by Richard Schaal
Modified: 2014-01-21 17:49 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-04-06 11:15:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Richard Schaal 2004-04-06 11:13:20 EDT
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):

How reproducible:

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.

Additional info:
Comment 1 Seth Vidal 2004-04-06 11:15:54 EDT
This isn't an exclusion failure - the installed deps are causing the

run yum upgrade and let it obsolete XFree86* for xorg-x11
Comment 2 Richard Schaal 2004-04-06 11:39:08 EDT
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.