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