Re: yum update lib*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2004-12-12 at 08:32 -0800, Scott Talbot wrote:
> On Sun, 2004-12-12 at 19:33 +1300, Rob Brown-Bayliss wrote:
> > 
> > Hi, for some reason 'yum update lib*' does nothing while 'yum update
> > libp*' does?  is there some code in yum to prevent lib* or is it a
> > bug?
> 
> 	I find that escaping all * [ ] ? chars return better results - not sure
> why (yeah I know that "officially" bash is replacing them instead of
> YUM) anyway try yum update lib\*

This is good advice. The reason that lib* may not work is that if there
is a file or directory in the current directory with a name that starts
with "lib", bash will replace the "lib*" with the name(s) of the one or
more files or directories that start with "lib". Yum never sees the *
unless bash is unable to find a match in the current directory.

So most likely the OP had a file/directory starting with "lib" but not
starting with "libp" in the current directory when issuing the yum
commands.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux