Red Hat Bugzilla – Bug 208249
Yum tries to search files in current directory when contents of current directory match the search/list expression
Last modified: 2014-01-21 17:55:24 EST
Description of problem:
Yum tries to search files in current directory when contents of current
directory match the search/list expression
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create scim-abc in current dir
2. perform "yum remove scim*" --> considering scim is already installed
3. watch the messages shown by yum
Yum look in current dir & expands scim* as wildcard in current dir
remove scim* packages
[root@host182 ~]# yum remove scim*
Deprecated constant TYPE_INTERFACE during plugin initialization.
Please use TYPE_INTERACTIVE instead.
Loading "installonlyn" plugin
Setting up Remove Process
No Match for argument: scim-cvs
No Packages marked for removal
[root@host182 ~]# ls
Desktop hi-remington.mim m17n-lib nonJunk si-makuchaku
FcLiveCd hi-remington.mim~ mbox packages si-wijesekera.mim
fld_bug.txt kadischi-error MorphousAnalyzer scim-cvs
[root@host182 ~]# ls -F
Desktop/ hi-remington.mim m17n-lib/ nonJunk/ si-makuchaku
FcLiveCd/ hi-remington.mim~ mbox packages/ si-wijesekera.mim
fld_bug.txt kadischi-error MorphousAnalyzer/ scim-cvs/
Any operation -> search/list/remove/install fails if the expression given ni yum
command matches any file/dir in the current directory.
the shell is expanding out the wildcard.
quote the option or escape the wildcard
yum search scim\*
yum search "scim*"
Aah... ok, thanks for the clarification :)
But then why is yum failing to remove scim*?
b/c your command is expanding out to:
yum remove scim-abc
which doesn't exist.