On 10/09/2013 07:40 PM, Timothy Murphy wrote:
I'm running Fedora-19/KDE on a Thinkpad T61. I had serious problems with hibernation when kernel-3.11 first came on the scene. Things have slightly improved now, but I still occasionally have what seems like the same problem, one symptom being that I cannot shutdown except by pressing the power button.
In any case, I have one 3.10 kernel in my three grub kernels. I'm yum-updating with exclude=kernel* to avoid losing this kernel. But I'm wondering if there is some way of telling yum that I want to keep this kernel, but would like to update the current kernel?
Hers is how to do it.
In Fedora repo there is a package named "yum-plugin-versionlock-1.1.31-10.fc18.noarch" install it.
Do a rpm -qa | grep kernel and something like this will appear ;
$ rpm -qa | grep kernel kernel-3.9.3-201.fc18.i686 kernel-modules-extra-3.9.2-200.fc18.i686 kernel-3.6.10-4.fc18.i686 abrt-addon-kerneloops-2.1.7-1.fc18.i686 kernel-modules-extra-3.6.10-4.fc18.i686 kernel-modules-extra-3.9.3-201.fc18.i686 kernel-3.9.2-200.fc18.i686 libreport-plugin-kerneloops-2.1.7-1.fc18.i686
Goto /etc/yum/pluginconf.d/versionlock.list and open empty file, in this file copy and paste, example;
kernel-3.9.3-201.fc18.i686 kernel-modules-extra-3.9.3-201.fc18.i686
Which is latest kernel, and yum will no longer update kernel and dep. packages. Save versionlock.list and go back to enjoying Fedoraa.