[CentOS] conflicts in updating to CR repo

Fred Smith

fredex at fcshome.stoneham.ma.us
Sat Sep 14 18:06:54 UTC 2019


Note, first of all I haven't actually updated, I'm just running "yum update"
to see what conflicts, if any, I get so I can be prepared when the final
7.7 release happens.

I've traditionally used the nvidia packages from elrepo, but recently
enabled rpmfusion (back when I started using 7.x, I disabled rpmfusion
because it took them a looooong time to get a EL7 repository up).

I use the priority plugin in yum, and have elrepo at priority 50
and rpmfusion at priority 60, so the elrepo nvidia packages
should "win", but yum seems to be confused about which packages
to use.

So now when doing yum update (with CR enabled) I get this long list
of dependency issues regarding the nvidia packages. I don't see any
reason to switch to the rpmfusion packages, elrepo seems to do a good
job of packaging and keeping them up to date:

--> Processing Dependency: xorg-x11-drv-nvidia-390xx-libs(x86-64) = 3:390.129-1.el7 for package: 3:xorg-x11-drv-nvidia-390xx-390.129-1.el7.x86_64
--> Processing Dependency: nvidia-settings-390xx(x86-64) = 390.129 for package: 3:xorg-x11-drv-nvidia-390xx-390.129-1.el7.x86_64
--> Processing Dependency: libnvidia-tls.so.390.129()(64bit) for package: 3:xorg-x11-drv-nvidia-390xx-390.129-1.el7.x86_64
--> Processing Dependency: libnvidia-glcore.so.390.129()(64bit) for package: 3:xorg-x11-drv-nvidia-390xx-390.129-1.el7.x86_64
--> Running transaction check
---> Package nvidia-settings-390xx.x86_64 0:390.129-1.el7 will be installed
---> Package xorg-x11-drv-nvidia-390xx-libs.x86_64 3:390.129-1.el7 will be installed
--> Processing Conflict: nvidia-x11-drv-430.50-1.el7_7.elrepo.x86_64 conflicts xorg-x11-drv-nvidia-390xx
Removing kmod-nvidia.x86_64 0:430.50-1.el7_7.elrepo - u due to obsoletes from kmod-nvidia-390xx.x86_64 3:390.129-3.el7 - u
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package kmod-nvidia.x86_64 0:430.50-1.el7_7.elrepo will be an update
--> Processing Dependency: nvidia-kmod = 430.50 for package: nvidia-x11-drv-430.50-1.el7_7.elrepo.x86_64
--> Processing Dependency: nvidia-kmod = 430.50 for package: nvidia-x11-drv-430.50-1.el7_7.elrepo.x86_64
---> Package nvidia-x11-drv.x86_64 0:430.40-1.el7_6.elrepo will be updated
---> Package nvidia-x11-drv.x86_64 0:430.40-1.el7_6.elrepo will be updated
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.x86_64 0:3.10.0-957.21.2.el7 will be erased
---> Package kernel-devel.x86_64 0:3.10.0-957.21.2.el7 will be erased
---> Package kmod-nvidia.x86_64 0:430.50-1.el7_7.elrepo will be an update
--> Processing Dependency: nvidia-kmod = 430.50 for package: nvidia-x11-drv-430.50-1.el7_7.elrepo.x86_64
--> Processing Dependency: nvidia-kmod = 430.50 for package: nvidia-x11-drv-430.50-1.el7_7.elrepo.x86_64
--> Processing Conflict: nvidia-x11-drv-430.50-1.el7_7.elrepo.x86_64 conflicts xorg-x11-drv-nvidia-390xx
--> Finished Dependency Resolution
Error: nvidia-x11-drv conflicts with 3:xorg-x11-drv-nvidia-390xx-390.129-1.el7.x86_64
Error: Package: nvidia-x11-drv-430.50-1.el7_7.elrepo.x86_64 (elrepo)
           Requires: nvidia-kmod = 430.50
           Removing: kmod-nvidia-430.40-1.el7_6.elrepo.x86_64 (@elrepo)
               nvidia-kmod = 430.40-1.el7_6.elrepo
           Obsoleted By: 3:kmod-nvidia-390xx-390.129-3.el7.x86_64 (rpmfusion-nonfree-updates)
               Not found
           Updated By: kmod-nvidia-430.50-1.el7_7.elrepo.x86_64 (elrepo)
               nvidia-kmod = 430.50-1.el7_7.elrepo
           Available: 3:akmod-nvidia-430.40-2.el7.x86_64 (rpmfusion-nonfree-updates)
               nvidia-kmod = 3:430.40-2.el7
           Available: kmod-nvidia-430.14-1.el7_6.elrepo.x86_64 (elrepo)
               nvidia-kmod = 430.14-1.el7_6.elrepo
           Available: kmod-nvidia-430.26-1.el7_6.elrepo.x86_64 (elrepo)
               nvidia-kmod = 430.26-1.el7_6.elrepo
           Available: kmod-nvidia-430.34-1.el7_6.elrepo.x86_64 (elrepo)
               nvidia-kmod = 430.34-1.el7_6.elrepo
           Available: kmod-nvidia-430.40-2.el7_7.elrepo.x86_64 (elrepo)
               nvidia-kmod = 430.40-2.el7_7.elrepo
           Available: 3:kmod-nvidia-430.40-2.el7.x86_64 (rpmfusion-nonfree-updates)
               nvidia-kmod = 3:430.40-2.el7
           Available: 3:kmod-nvidia-3.10.0-1062.el7.x86_64-430.40-2.el7.x86_64 (rpmfusion-nonfree-updates)
               nvidia-kmod = 3:430.40-2.el7
 You could try using --skip-broken to work around the problem
 

Thanks in advance for advice!

Fred

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
               Show me your ways, O LORD, teach me your paths;
                     Guide me in your truth and teach me,
                         for you are God my Savior,
                    And my hope is in you all day long.
-------------------------- Psalm 25:4-5 (NIV) --------------------------------


More information about the CentOS mailing list