[CentOS] C7.6 Update problem

Tue Aug 27 10:55:57 UTC 2019
Phil Perry <pperry at elrepo.org>

On 27/08/2019 11:35, Alessandro Baggi wrote:
> Hi list,
> today I tried to update my centos workstation (7.6.1810).
> My problem concerns kmod-nvidia update. Nvidia driver where installed by 
> elrepo.
> During running yum update I get:
> 
> 
> kmod-nvidia.x86_64 430.40-2.el7_7.elrepo           elrepo
> 
> and I also get several statements like this:
> 
> Errore: Pacchetto: kmod-nvidia-430.40-2.el7_7.elrepo.x86_64 (elrepo)
>              Richiede: kernel(drm_atomic_helper_check) = 0x5b116915
>              Installato: kernel-3.10.0-957.el7.x86_64 (@anaconda)
>                  kernel(drm_atomic_helper_check) = 0xb911786f
>              Installato: kernel-3.10.0-957.12.1.el7.x86_64 (@updates)
>                  kernel(drm_atomic_helper_check) = 0xb911786f
>              Installato: kernel-3.10.0-957.12.2.el7.x86_64 (@updates)
>                  kernel(drm_atomic_helper_check) = 0xb911786f
>              Installato: kernel-3.10.0-957.21.3.el7.x86_64 (@updates)
>                  kernel(drm_atomic_helper_check) = 0xb911786f
>              Installato: kernel-3.10.0-957.27.2.el7.x86_64 (@updates)
>                  kernel(drm_atomic_helper_check) = 0xb911786f
>              Disponibile: kernel-3.10.0-957.1.3.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0xb911786f
>              Disponibile: kernel-3.10.0-957.5.1.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0xb911786f
>              Disponibile: kernel-3.10.0-957.10.1.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0xb911786f
>              Disponibile: kernel-3.10.0-957.21.2.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0xb911786f
>              Disponibile: kernel-debug-3.10.0-957.el7.x86_64 (base)
>                  kernel(drm_atomic_helper_check) = 0x1b358289
>              Disponibile: kernel-debug-3.10.0-957.1.3.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0x1b358289
>              Disponibile: kernel-debug-3.10.0-957.5.1.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0x1b358289
>              Disponibile: kernel-debug-3.10.0-957.10.1.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0x1b358289
>              Disponibile: kernel-debug-3.10.0-957.12.1.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0x1b358289
>              Disponibile: kernel-debug-3.10.0-957.12.2.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0x1b358289
>              Disponibile: kernel-debug-3.10.0-957.21.2.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0x1b358289
>              Disponibile: kernel-debug-3.10.0-957.21.3.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0x1b358289
>              Disponibile: kernel-debug-3.10.0-957.27.2.el7.x86_64 (updates)
>                  kernel(drm_atomic_helper_check) = 0x1b358289
> 
> 
> I noticed that running "yum list kmod-nvidia"  I have installed version 
> 430.40-1.el7_6.elrepo and now is available version 430.40-2.el7_7.elrepo 
> and the first thing that I see is minor release change from 7_6 to 7_7.
> 
> Reading from this https://elrepo.org/bugs/view.php?id=920&nbn=4 seems 
> that kmod-driver was uploaded for 7.7 release but centos is on 7.6. I'm 
> not using elrepo-testing but yum try to update 7_7 version.
> 
> 
> Can someone point me in the right direction?
> 
> Thanks in advance
> 

Yes, please install yum-plugin-elrepo which will fix the 'issue' for you.

Yum is telling you that it can not install the latest kmod-nvidia 
version because it requires the CentOS 7.7 kernel, which is not yet 
available to you.

By installing yum-plugin-elrepo, the plugin will mask (hide) from yum 
any kmod package which requires a kernel which is not available to yum. 
Once the CentOS 7.7 kernel becomes available to you, yum will then also 
see the corresponding kmod-nvidia update for that kernel and you will be 
able to update as required.

Regards,

Phil