Is there a way to configure yum to ignore kernel updates besides manually removing an update before the update? The problem is that there's a very strong chance a kernel update will break drivers (read: nvidia), and I don't want to have to swing to extremes, like not updating at all...
I updated a machine to kernel 3.11.1, and it just sits at the fedora logo. I couldn't even ctrl+alt-F2, but if I set grub to run level 3 and look at the logs, it seems the nvidia module won't load due to not being built for the 3.11.1 kernel. Apparently akmod can't rebuild because the nvidia drivers need num_physpages, which has been removed in 3.11. I tried to update the nvidia drivers, but I am on the latest version that rmpfusion allows for Fedora 19 (319.23)
So, I just decided to remove the update 3.11.1 kernel. I don't need it... yet.
I saw a thread a while ago on this list discussing the decision to update or just wait for a new Fedora release. If yum can't be told to ignore certain updates, I may switch camps. It's not worth my time and effort to keep a machine up-to-date if those updates are going to sporadically break the machine and require investigation.
On Mon, Sep 23, 2013 at 16:59:24 +0000, "Powell, Michael" Michael_Powell@mentor.com wrote:
Is there a way to configure yum to ignore kernel updates besides manually removing an update before the update? The problem is that there's a very strong chance a kernel update will break drivers (read: nvidia), and I don't want to have to swing to extremes, like not updating at all...
yum will not remove the running kernel, so one option is to let the updates happen, but don't use the newer updates until you have time to test them.
You can edit /etc/sysconfig/kernel so that the default is to keep using the current kernel on reboots. When you want to move on, you'll need to change your grub2 (or grub or whichever bootloader you use) to change the default kernel.
There is also a way using yum's config to prevent particular packages from being updated. But since you can have multiple kernels installed, that doesn't seem to be the best solution in this case.
On Mon, 23 Sep 2013 16:59:24 +0000 "Powell, Michael" Michael_Powell@mentor.com wrote:
Is there a way to configure yum to ignore kernel updates besides manually removing an update before the update? The problem is that there's a very strong chance a kernel update will break drivers (read: nvidia), and I don't want to have to swing to extremes, like not updating at all...
in using the cli just yum update exclude=kernel* or stuck exclude=kernel* in /etc/yum.conf and use "--disablexcludes" when required to update kernel