[Leaplist] YUM question

Ray Brunkow ray at brunkow.ws
Fri Mar 5 20:37:38 EST 2010


On 3/5/10 8:40 PM, William A. Mahaffey III wrote:
> On 03/05/10 19:07, Ray Brunkow wrote:
>> How can I update yum (centos 5.x) and exclude kernel updates and 
>> prevent yum from removing my currently kernel?
>>
>> Thanks.
>>
>
>
> from the man page under 'General options':
>
>        -x, --exclude=package
>               Exclude a specific package by name or glob from updates 
> on all repositories.  Configuration Option:
>               exclude
>
>
> so I think it would be 'yum -y -x kernel upgrade yum' .... YMMV & all 
> that ....
>
>
Many thanks.

-- 
Raymond L. Brunkow
5th Degree Black Belt
Certified Instructor
Choong Sil Kwan TaekwonDo Federation


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Leaplist mailing list