nvidia package conflicts

Issues related to applications and software problems
Post Reply
robertw
Posts: 189
Joined: 2012/04/25 13:26:59

nvidia package conflicts

Post by robertw » 2018/07/21 21:32:46

hi all,

i am using ElRepo to install my nvidia driver as i have heard its the best way to do it rather than running the .run script that nvidia website provides

https://elrepo.org/tiki/nvidia-detect

but when i run "yum install kmod-nvidia" i run into this package conflict

--> Processing Conflict: nvidia-x11-drv-340xx-340.107-1.el7.elrepo.x86_64 conflicts xorg-x11-drv-nvidia
--> Finished Dependency Resolution
Error: nvidia-x11-drv-340xx conflicts with 2:xorg-x11-drv-nvidia-384.111-1.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

im researching into the error myself but if anyone can help me out i would be much appreciated

cheers,
rob

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: nvidia package conflicts

Post by lightman47 » 2018/07/21 22:08:33

Did you previously install the proprietary driver from Nvidia (the .run file)?

If so, did you remove the previous install of the proprietary driver from Nvidia first? (as I recall, you re-run the ".run" file but with a 'switch' that will peacefully back-out the install.) It's been years, so I can't quote you the exact command.

That said, did you install & run 'nvidia-detect' which will tell you what driver to install?

- my thoughts off the top

robertw
Posts: 189
Joined: 2012/04/25 13:26:59

Re: nvidia package conflicts

Post by robertw » 2018/07/23 13:01:05

found out the problem -

i removed the package and also as i was doing a "yum install kmod-nvidia" it was installing the rpmfusion version so i made it only look for the elrepo

yum remove -y nvidia-x11-drv-340xx-340.107-1.el7.elrepo.x86_64
yum --disablerepo=\* --enablerepo=elrepo install kmod-nvidia

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: nvidia package conflicts

Post by TrevorH » 2018/07/23 13:09:51

Probably wise to edit the .repo file for the one you don't want to use and add an exclude= to stop it from being used at all.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply