On 2/22/20 1:33 AM, Simon Colston wrote:
Fedora Workstation 31
I was doing a dnf upgrade (which I aborted), when I got the message:
Removing dependent packages: kmod-nvidia-5.4.18-200.fc31.x86_64 x86_64 3:440.59-1.fc31 @@commandline 30 M
I assume this package is dependent on kernel 5.4 and the dnf upgrade includes kernel 5.5.
So, I did
[simon@hedgehog ~]$ dnf list kmod-nvidia* Last metadata expiration check: 0:00:10 ago on Sat 22 Feb 2020 08:51:05 GMT. Installed Packages kmod-nvidia-5.4.18-200.fc31.x86_64.x86_64 3:440.59-1.fc31 @@commandline kmod-nvidia-5.4.19-200.fc31.x86_64.x86_64 3:440.59-1.fc31 @@commandline kmod-nvidia-5.4.20-200.fc31.x86_64.x86_64 3:440.59-1.fc31 @@commandline Available Packages kmod-nvidia.x86_64 3:440.59-1.fc31 rpmfusion-nonfree-nvidia-driver
Now, the kmod-nvidia package says that it is a meta-package to ensure the nvidia module(s) for the newest kernel.
So, my questions are:
1. Should I remove the installed nvidia packages and replace them with the meta-package? 2. Does the 'dnf list' imply that the nvidia packages for kernel 5.5 are not ready yet? 3. I don't want to upgrade the kernel until the nvidia package is available. What's the best way to monitor that?
You're missing the details of what's happening here, you need to look carefully at the versions. I assume you have the akmod package for the nvidia drivers installed. Whenever you install a new kernel package, the akmod system rebuilds the nvidia driver and creates a new kmod-nvidia package corresponding to that kernel. Fedora by default only keeps 3 kernels installed. When you install a new one, the oldest one gets removed. This is causing the corresponding kmod package to also get removed which is a good thing. When the incoming kernel is installed, a new kmod package will be built and installed as well. It's all good, just let it happen.