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): yum-2.9.6-1 How reproducible: Always 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 Actual results: Yum look in current dir & expands scim* as wildcard in current dir Expected results: remove scim* packages Additional info: [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.
s/ni/in
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.