On 08/02/15 05:09, S.Tindall wrote:> On Sat, 2015-02-07 at 23:06 -0500, Mark LaPierre wrote: >> Hey all, >> >> On my X86-64 CentOS 6.6 machine I just ran yum update. In the update >> was an upgrade from the 340.XX Nvidia package to the 346.XX package. >> Hrmmm? I'm thinking this is not a good idea but, since this is just a >> test system any way, I let it run. Sure enough I was right. Dmesg says >> that my video is supported by the 340.XX driver, not the 346.XX driver. >> It's not happy cause it can't find a supported GPU. >> >> 1. So, having only a command line interface, how do I tell yum to rip >> out the 346.XX package and reinstall the 340.XX package? >> >> 2. How do I tell yum not to do such stupid stuff again? > > Assuming you mean that you just updated the kmod-nvidia package, then > follow the instructions at the top of this page. > > http://elrepo.org/tiki/kmod-nvidia > > It happened to me, too. Easy fix. :-) > > Steve >Yes, just to reiterate: yum erase kmod-nvidia yum install kmod-nvidia-340xx reboot You will then be on the correct driver branch and will get the appropriate driver updates going forwards, no changes to yum necessary.
On 02/08/15 06:12, Ned Slider wrote:> > On 08/02/15 05:09, S.Tindall wrote: > Yes, just to reiterate: > > yum erase kmod-nvidia > yum install kmod-nvidia-340xx > reboot > > You will then be on the correct driver branch and will get the > appropriate driver updates going forwards, no changes to yum necessary. > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >I went through all this, and now that I have kmod-nvidia-340xx installed, but have you executed yum update or yum list updates? If you do then yum will want up upgrade you to the latest and greatest kmod-nvidia-346xx. So other than modifying yum to exclude the nvidia driver how do you prevent the update in the future? rpm -qa | grep nvidia nvidia-detect-346.35-1.el6.elrepo.x86_64 kmod-nvidia-340.65-1.el6.elrepo.x86_64 nvidia-x11-drv-340.65-1.el6.elrepo.x86_64 Output from yum list updates Updated Packages kmod-nvidia.x86_64 346.35-1.el6.elrepo elrepo nvidia-x11-drv.x86_64 346.35-1.el6.elrepo elrepo -- Unencumbered by the thought process. -- Click and Clack the Tappet brothers
On 08/02/15 12:33, Pete Geenhuizen wrote:> > On 02/08/15 06:12, Ned Slider wrote: >> >> On 08/02/15 05:09, S.Tindall wrote: >> Yes, just to reiterate: >> >> yum erase kmod-nvidia >> yum install kmod-nvidia-340xx >> reboot >> >> You will then be on the correct driver branch and will get the >> appropriate driver updates going forwards, no changes to yum necessary. >> >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > I went through all this, and now that I have kmod-nvidia-340xx > installed, but have you executed yum update or yum list updates? > If you do then yum will want up upgrade you to the latest and greatest > kmod-nvidia-346xx. > So other than modifying yum to exclude the nvidia driver how do you > prevent the update in the future? > > rpm -qa | grep nvidia > nvidia-detect-346.35-1.el6.elrepo.x86_64 > kmod-nvidia-340.65-1.el6.elrepo.x86_64 > nvidia-x11-drv-340.65-1.el6.elrepo.x86_64 > > Output from yum list updates > Updated Packages > kmod-nvidia.x86_64 > 346.35-1.el6.elrepo elrepo > nvidia-x11-drv.x86_64 > 346.35-1.el6.elrepo elrepo > >No, you don't have the package kmod-nvidia-340xx installed. You have kmod-nvidia VERSION 340.65. In the first example, the package NAME is kmod-nvidia-340xx (the -340xx is part of the package name, NOT the version). Please do as I advised: yum erase kmod-nvidia yum install kmod-nvidia-340xx reboot Because you now no longer have package kmod-nvidia installed, yum will not try to update you to the latest version. You will stay forever on the 340.xx branch which is the last version to support your hardware. Hope that helps
> -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On > Behalf Of Ned Slider > Sent: den 8 februari 2015 12:12 > To: centos at centos.org > Subject: Re: [CentOS] Nvidia Mod Update > > Yes, just to reiterate: > > yum erase kmod-nvidia > yum install kmod-nvidia-340xx > reboot > > You will then be on the correct driver branch and will get the > appropriate driver updates going forwards, no changes to yum necessary.Ran into this as well. Thanks for the quick-fix howto! -- //Sorin