-   Red Hat (
-   -   Freeze package version (

tadeas 01-28-2013 12:21 PM

Freeze package version
How do I freeze a specific (current) package version? In Debian there is /etc/apt/preferences, in SUSE I can do that in Yast, how do I do this in Red Hat/CentOS 6.3?

To be clear: I need a new kernel (-ml from Elrepo), but I don't want to upgrade it every few days during regular system update. I want just just to stick to 3.7.3 or something..

knudfl 01-28-2013 12:46 PM

Add a line to /etc/yum.conf :


.. Be aware that the wildcard ( * ) is important : kernel*

tadeas 01-28-2013 12:53 PM

Ah... yum.conf... Why couldn't I Google it? :)
Thanks very much!

All times are GMT -5. The time now is 03:09 AM.