[CentOS] Nvidia Mod Update

Sun Feb 8 12:45:53 UTC 2015
Ned Slider <ned at unixmail.co.uk>


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