[CentOS] RPMFusion and NVIDIA driver problem

Wed Jul 1 06:58:32 UTC 2020
Alessandro Baggi <alessandro.baggi at gmail.com>

Il 30/06/20 17:41, Phil Perry ha scritto:
> On 30/06/2020 08:33, Alessandro Baggi wrote:
>>
>> Il 29/06/20 16:02, Phil Perry ha scritto:
>>> On 29/06/2020 07:36, Alessandro Baggi wrote:
>>>> Hi list,
>>>>
>>>> I'm on C8.1 and I'm trying to install NVIDIA driver from 
>>>> rpmfusion-nonfree repository but it returns:
>>>>
>>>>   package kmod-nvidia-3:440.82-2.el8.x86_64 requires 
>>>> kmod-nvidia-4.18.0-147.el8.x86_64 >= 3:440.82-2.el8, but none of 
>>>> the providers can be installed
>>>>    - conflicting requests
>>>>    - nothing provides kernel < 4.18.0-148.el8 needed by 
>>>
>>> The package is looking for an el8.1 kernel to meet it's dependencies 
>>> and can not find one. C8.2 has now been released, and as a result 
>>> all 8.1 packages got moved to vault. If you enable the vault repo, 
>>> yum will be able to find the kernel package it is looking for to 
>>> meet the dependencies. However, if you do that you will have to boot 
>>> to an old C8.1 series kernel for your nvidia drivers to work.
>>>
>>>> kmod-nvidia-4.18.0-147.el8.x86_64-3:440.82-2.el8.x86_64
>>>> (try to add '--skip-broken' to skip uninstallable packages or 
>>>> '--nobest' to use not only best candidate packages)
>>>>
>>>> and uname -r returns:
>>>>
>>>> 4.18.0-193.6.3.el8_2.x86_64
>>>>
>>>
>>> Yes, you are running the latest 8.2 series kernel.
>>>
>>>> Seems that RPMFusion needs an update. Waiting for this there is a 
>>>> way to install this package without fall in problems?
>>>>
>>>> Thank you in advance.
>>>>
>>>
>>> Yes, seems that repo is stale. They need to release packages built 
>>> against el8.2, which at least for RHEL have been out for 2 months 
>>> now. A newer stable nvidia driver (440.100) was also released 
>>> recently. The (not ideal) workaround is as stated above - enable 
>>> CentOS vault repo and boot into an older el8.1 series kernel for now 
>>> until they update packages.
>>>
>>> I would normally recommend you try the nvidia drivers from elrepo, 
>>> but I have a vested interest as I maintain them
>>>
>>> Phil
>>
>> Hi Phil,
>>
>> thank you for your answer.
>>
>> I tried with this after installing ELrepo repository:
>>
>> yum --enablerepo=elrepo install kmod-nvidia
>>
>> but I get the same result for different version.
>>
>>
>
> Hi Alessandro,
>
> You will need to provide more information for me to be able to help, 
> like the errors you received.
>
> As a general rule, try not to mix elrepo and rpmfusion repos, or if 
> you have to, do so carefully and manage any conflicts manually.
>
> You can usually tell which point release kernel series a kmod is built 
> for by the tag in their release (e.g, el8.2 packages will have the 
> elrepo.el8_2 release tag), so you can ensure you are installing / 
> updating the correct package for your system.
>
> Regards,
>
> Phil
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

Hi Phil,

thank you for your answer.

Currently I need RPMFusion for some packages so I cannot remove it.

About my previous error about the command with --enablerepo=elrepo it 
gives me errors because it tries to install again rpmfusion packages so 
adding --disablerepo=rpmfusion-nonfree-updated  will permit to install 
the driver but currently I remain with nouveau to avoid conflicts 
between elrepo and RPMFusion.

Thank you for your help.