[CentOS] kmod-nvidia-430.40-1.el7_6.elrepo.x86_64 fails to install
Gregory P. Ennis
PoMec at PoMec.Net
Sun Aug 25 17:12:39 UTC 2019
On 25/08/2019 15:50, Gregory P. Ennis wrote:
>
> 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
^^^ the 'elrepo' plugin is missing above. Please install yum-plugin-elrepo:
yum install yum-plugin-elrepo
> 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.
>
Once you have installed yum-plugin-elrepo, when repeating the above the
package for el7.7 (kmod-nvidia-30.40-2.el7_7.elrepo.x86_64) should be
automagically hidden until such time as CentOS 7.7 has been released.
> I would think that when CentOs7.7 is released this problem will be resolved. I am very
> thankful of the maintainers of these repos!!!!!
>
Yes, once CentOS 7.7 is released, you will be able to update to the
el7.7 kernel and the corresponding
kmod-nvidia-30.40-2.el7_7.elrepo.x86_64 package built for that kernel.
In the meantime, yum-plugin-elrepo will ensure everything works as it
should.
Phil
--------------------------------------------------------
Phil,
I thought I had installed yum-plugin-elrepo, but it certainly was not. After installing it
everything is back to normal.
Thank you very much for your help!!!!!
Greg
More information about the CentOS
mailing list