[CentOS] kmod-nvidia-430.40-1.el7_6.elrepo.x86_64 fails to install

Sun Aug 25 14:50:43 UTC 2019
Gregory P. Ennis <PoMec at PoMec.Net>

On 25/08/2019 02:28, Gregory P. Ennis wrote:
> 
> On Sat, Aug 24, 2019 at 3:21 PM Ian Mortimer <i.mortimer at uq.edu.au> wrote:
> > 
> > On Sat, 24 Aug 2019, Gregory P. Ennis wrote:
> > 
> > > On August  2, my desktop unit updated with
> > > kmod-nvidia-430.40-1.el7_6.elrepo.x86_64
> > > which broke yum having a multiple of dependencies not being present.
> > 
> > The latest from elrepo - kmod-nvidia-430.40-2.el7_7.elrepo.x86_64.rpm -
> > is built for EL 7.7 and is not compatible with CentOS 7.6.
> > 
> > kmod-nvidia-430.40-1.el7_6.elrepo.x86_64 is the last that will work
> > with the latest CentOS 7.6 kernel.
> > 
> > 
> > ---
> > Ian
> 
> This issue can be taken care of by installing yum-plugin-elrepo from ELRepo.
> 
> Akemi
> _______________________________________________
> -------------------------------------------
> Akemi,
> 
> Thank you for your help.  I actually had already installed yum-plugin-elrepo, and that
> was
> apparently part of the problem.   When I do an update with this repo active kmod-nvidia-
> 430.40-2.el7_7.elrepo.x86_64.rpm is the rpm that is set to be installed which does not
> work
> because I an running Centos 7.6.   When I installed kmod-nvidia-430.40-
> 1.el7_7.elrepo.x86_64.rpm instead of doing an update everything worked perfectly.
> 
> Looks like the elrep repsitory may have a problem with this update.
> 
> 
> Greg
> 

What kernel are you running? Please show the output from:

rpm -q kernel
uname -a

yum-plugin-elrepo is designed to mask kmod packages from the yum 
transaction when the required kernel from those packages is not 
available to yum. In order for the yum-plugin-elrepo to work correctly, 
all kernels should be available. Unfortunately, because of the 
differences between RHEL and CentOS, whereby RHEL makes ALL packages 
continuously available whereas CentOS repositories ONLY contain the 
latest point release and update packages, yum-plugin-elrepo may not work 
correctly on CentOS in some circumstances.

The workaround is to enable the CentOS vault repository so that all 
previous kernel packages are available to yum as they are on RHEL. See 
this bug:

https://bugs.centos.org/view.php?id=15476

Please try enabling the CentOS vault repo and see if that fixes your 
issue with yum.

Thanks,

Phil
----------------------------------------------------------------------------

Phil,

That bug report was very helpful. 

rpm -q kernel
kernel-3.10.0-957.5.1.el7.x86_64
kernel-3.10.0-957.10.1.el7.x86_64
kernel-3.10.0-957.12.1.el7.x86_64
kernel-3.10.0-957.21.3.el7.x86_64
kernel-3.10.0-957.27.2.el7.x86_64

uname -a :

3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64 x86_64 x86_64
GNU/Linux

When I look at what is in elrepo I get the following :

yum --showduplicates list kmod-nvidia
Loaded plugins: fastestmirror, langpacks, nvidia
Loading mirror speeds from cached hostfile
 * base: mirror.dal10.us.leaseweb.net
 * elrepo: repos.dfw.lax-noc.com
 * elrepo-extras: repos.dfw.lax-noc.com
 * epel: fedora-epel.mirror.lstn.net
 * extras: mirror.dal10.us.leaseweb.net
 * nux-dextop: mirror.li.nux.ro
 * updates: mirror.dal10.us.leaseweb.net
Installed Packages
kmod-nvidia.x86_64                  430.40-1.el7_6.elrepo                   @elrepo
Available Packages
kmod-nvidia.x86_64                  430.14-1.el7_6.elrepo                   elrepo
kmod-nvidia.x86_64                  430.26-1.el7_6.elrepo                   elrepo
kmod-nvidia.x86_64                  430.34-1.el7_6.elrepo                   elrepo
kmod-nvidia.x86_64                  430.40-1.el7_6.elrepo                   elrepo
kmod-nvidia.x86_64                  430.40-2.el7_7.elrepo                   elrepo


As you  can see I get both  430.40-1.el7_6.elrepo 
430.40-2.el7_7.elrepo as being present.  If I am understanding things properly, yum should
pick  '_6' over '_7' because my system is running 7.6.

I would think that when CentOs7.7 is released this problem will be resolved. I am very
thankful of the maintainers of these repos!!!!!

Greg
_______________________________________________
CentOS mailing list
CentOS at centos.org
https://lists.centos.org/mailman/listinfo/centos