SCIENTIFIC-LINUX-USERS Archives

November 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Connie Sieh <[log in to unmask]>
Reply To:
Connie Sieh <[log in to unmask]>
Date:
Mon, 14 Nov 2005 16:20:00 -0600
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (33 lines)
On Mon, 14 Nov 2005, Troy Dawson wrote:

> Filianx wrote:
> > Hi folks,
> > 
> > can anyone tell me the command to use for yum to upgrade but exclude the 
> > kernel..and how to config yum.conf to  do the same?
> > 
> > many thanks in advance,
> > 
> > -- 
> > Filianx
> 
> yum --exclude=kernel* update
> 
> And in /etc/yum.conf add the line
>    exlude=kernel*

that should be

    exclude=kernel*

> in the [main] section.
> This is true for yum 2.0, 2.2, and 2.4.
> If you want an example, you can check
> /etc/yum.d/yum.cron.excludes
> That is what get's put into the nightly yum.cron script.
> 
> Troy
> 

-connie

ATOM RSS1 RSS2