yum - prevent Redhat-Release update

Mike Burger mburger at bubbanfriends.org
Mon Jun 2 22:53:42 UTC 2008


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

"yum update --exclude=kernel" Should probably work for you.

Additionally, you can edit your /etc/yum.conf file, and edit the
"installonly_limit" line to increase the number of kernels it keeps
installed.

That way, you could just download and install the kernel, but not
necessarily boot to it.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscribe at bubbanfriends.org




More information about the redhat-list mailing list