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

Re: yum update



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


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