yum update

Aaron Konstam akonstam at sbcglobal.net
Fri Aug 3 20:35:47 UTC 2007


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 at sbcglobal.net




More information about the fedora-list mailing list