![]() ![]() I suspect you have files in your local directory that are getting matched when you used as an argument to yum search. You can guard against this happening by escaping the wildcard like so: $ yum list cl-\* | expand So instead of running yum list cl-* you'll be running the command yum list cl-file, if there's a file matching the regex/glob cl-*. In those cases your shell will expand the regex/glob prior to it being presented to YUM. The only caveat you have to be careful with regexes/globs, is if there are files within your shell that are named such that they too would match cl-*. * rpmfusion-nonfree-updates: Ĭl-ppcre.noarch 2.0.3-3.3 home_zhonghuaren Loading mirror speeds from cached hostfile Loaded plugins: fastestmirror, langpacks, refresh-packagekit, tsflags These are the YUM commands like list and install. The regular expressions come into play when you're looking for particular packages. So you generally look for fragments of strings that you want with search. NOTE: The string is technically a glob in the Bash shell. Name and summary matches only, use "search all" for everything. How do I know this? There's a message that tells you this when you use yum search. ![]() You generally don't use any regular expressions (globs) when searching with yum search since the command search is already looking for sub-strings within the package names and their summaries. ![]()
0 Comments
Leave a Reply. |