yum - prevent Redhat-Release update

Michael Simpson mikie.simpson at gmail.com
Tue Jun 3 12:26:46 UTC 2008


On 6/3/08, Andrew Bacchi <bacchi at rpi.edu> wrote:
> read the yum.conf man page, it has an exclude list you can add to the
> configuration file.  Here's the quote from the man page.
>
> exclude
>             List of packages to exclude from updates or installs. This
> should be
>             a space separated list.  Shell globs using wildcards (eg. *  and
>  ?)
>             are allowed.
>
>
> dbcooper wrote:
> > Hello,
> >
> > I was just wondering how do I stop "yum" from updating to the newest
> > redhat-release (I.E. Kernel) but continue to get all the newest packages?
> > I've looked at using the security plugin option, but I want to keep
> getting
> > everything that gets released (not just security updates).
> >
> > I know in the 4 and below days we had the option to exclude items in the
> > up2date configuration, can I simply add exclude or skip lists in the yum
> > configuration file?
> >
> > Thanks,
> >

Hi

wrt the kernel upgrades i found out his from another mailing list
belonging to a distribution which is uncannily similar to RedHat
:-)

>i have an old dual processor box that boots from the previous kernel
>after updates for some reason which i haven't researched


>That's probably because your /etc/sysconfig/kernel contains:

>  # UPDATEDEFAULT specifies if new-kernel-pkg should make
>  # new kernels the default
>  UPDATEDEFAULT=no

>Make the obvious change of "no" to "yes" if you want newly updated
>kernels to become the boot default.

this means that when an updated kernel is installed the default in
grub.con is changed to boot from the previous installed kernel

works a treat

hth

mike




More information about the redhat-list mailing list