yum update

Les hlhowell at pacbell.net
Fri Aug 3 18:31:21 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?
> 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?
> 
> However, I always say: yum update --exclude=kernel\*
> 
In most expansion cases, the backslash is the escape character, so your
commands are the same, I think.

Regards,
Les H




More information about the users mailing list