Red Hat Bugzilla – Bug 197903
fedorakmod plugin attempts to uninstall in-use kernel modules
Last modified: 2008-03-14 15:17:45 EDT
Description of problem:
fedora-kmod plugin will cause yum to uninstall kernel modules being used by the
Version-Release number of selected component (if applicable):
Have two kernel versions installed; be running the older version. yum update
prompts to install a new kernel, it's prereqs; and to uninstall the kernel
you're _not_ running, plus any kmod packages you're using against the older
(running) kernel on your system.
Steps to Reproduce:
In this case, I have two kernels and two kmod's installed, and I'm running the
older of the two:
[cweyl@zeus x86_64]$ rpmquery kernel
[cweyl@zeus x86_64]$ rpmquery kmod-nvidia
[cweyl@zeus x86_64]$ uname -r
Today kernel 2145 was released. Yum update yields:
kernel x86_64 2.6.17-1.2145_FC5 updates
kernel-devel x86_64 2.6.17-1.2145_FC5 updates
kmod-nvidia x86_64 1.0.8762-188.8.131.52_1.2145_FC5 livna
kernel x86_64 2.6.17-1.2139_FC5 installed
kernel-devel x86_64 2.6.17-1.2139_FC5 installed
kmod-nvidia x86_64 1.0.8762-184.108.40.206_1.2122_FC5 installed
Removing for dependencies:
kmod-nvidia x86_64 1.0.8762-220.127.116.11_1.2139_FC5 installed
The installonlyn plugin recognizes that you're running a specific kernel and
doesn't try to uninstall it. Shouldn't the kmod plugin do the same, and not try
to uninstall kmod packages that match the running version of the kernel?
So this bug has been sitting for a loooooooooooong time.
Have you experienced it on f7 or f8?
Ah, what's a year or two :)
AFAIK, it's still present. However, I switched back to apt not too long after
posting this bug, so...
Okay, sorry to hear that. I'm going to provisionally close this bug
insufficient_data and ask jack to take a look at it b/c of the kmod involvement.