Bug 1043159 - selective failure of yum list command
Summary: selective failure of yum list command
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 19
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-14 12:56 UTC by Steve
Modified: 2013-12-17 01:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-16 08:00:24 UTC
Type: Bug


Attachments (Terms of Use)
output of yum list command to show error (3.71 KB, text/plain)
2013-12-14 13:02 UTC, Steve
no flags Details

Description Steve 2013-12-14 12:56:21 UTC
Description of problem:
yum list kde* command fails whereas yum list gnom* succeeds

Version-Release number of selected component (if applicable):


How reproducible:
every time on selective versions of the command

Steps to Reproduce:
1. yum list kde*

Actual results:
# yum list kde*
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
 * fedora: mirror.iprimus.com.au
 * rpmfusion-free: rpmfusion.mirror.uber.com.au
 * rpmfusion-free-updates: rpmfusion.mirror.uber.com.au
 * rpmfusion-nonfree: rpmfusion.mirror.uber.com.au
 * rpmfusion-nonfree-updates: rpmfusion.mirror.uber.com.au
 * updates: mirror.iprimus.com.au
Error: No matching Packages to list

Expected results:
# yum list kde*
output with list of packages starting kde

Additional info:
yum has been reinstalled
yum clean metadata has been run

Comment 1 Steve 2013-12-14 13:02:28 UTC
Created attachment 836643 [details]
output of yum list command to show error

Comment 2 Jan Zeleny 2013-12-16 08:00:24 UTC
Most likely an escaping issue - bash expands the asterisk before it reaches yum. That means if you have files in your $CWD that start with "kde", their names will be given as arguments to yum instead of the asterisk.

Comment 3 Steve 2013-12-17 01:17:56 UTC
The bash expansion explanation is not consistent with the evidence (see the attachment for details) as 
yum list gno*
yum list ker*
do give an appropriate output as the wild card search includes the not installed, but available packages
whereas  
yum list kde*
in the attachment reports as error
further /etc/bash_completion.d/yum-utils.bash
may play a part.

claim it as part of the metadata and a corruption there and leave this as closed.


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