[Leaplist] YUM question

William A. Mahaffey III wam at hiwaay.net
Fri Mar 5 20:40:31 EST 2010


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 ....


-- 
	William A. Mahaffey III
  ----------------------------------------------------------------------
	"Michael Dukakis&  the Massachusetts Penal system: 2 gifts that
	 just keep on giving for violent criminals in the commonwealth
	&  the rest of America."
	 - WAM III, Feb 14 2010,
		after the Amy Bishop shootings @ UAH in HSV


-- 
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