Re: yum update

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

 



On Fri, 2007-08-03 at 15:41 +0100, Timothy Murphy wrote:
> Aaron Konstam wrote:
> 
> >> Use the --exclude=[package] option like
> >> # yum update --exclude=kernel*
> 
> > The above will not work since the * will be expanded by the shell not
> > yum.
> 
> Are you sure?

Yes I am sure. It is like:
find ./ -name "foo*"
the quotes are needed if you want to find all files that start with foo
This is explained in man find
> My impression is that it is only expanded if you happen to have
> a file called kernel* in the current directory.
> If it doesn't find anything yum does expand the argument, I think?
No that is not how it works.
> 
> However, I always say: yum update --exclude=kernel\*

--
=======================================================================
Love is what you've been through with somebody. -- James Thurber
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx


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

  Powered by Linux