[elrepo] Centos 7.6 nvidia issue

Fred Smith fredex at fcshome.stoneham.ma.us
Mon Feb 18 06:40:01 EST 2019


On Thu, Feb 14, 2019 at 10:54:03PM +0000, Phil Perry wrote:
> On 14/02/2019 15:39, Fred Smith wrote:
> >On Mon, Jan 21, 2019 at 12:21:10PM +0000, Brian Smith wrote:
> >>    Just reporting my experience with the CentOS 7.5 -> 7.6 update
> >>    coincidental with needing to switch from kmod-nvidia ->
> >>    kmod-nvidia-390xx
> >>    # yum update
> >>    reports conflicts between different kmod-nvidia versions.
> >>    Trying to change kmod-nvidia first
> >>    # yum erase kmod-nvidia
> >>    # yum install kmod-nvidia-390xx
> >>    reveals conflicts between libglvnd-egl and mesa-libEGL etc. Solution is
> >>    to update mesa-libEGL first
> >>    # yum update mesa-libEGL
> >>    and then install libglvnd-egl
> >>    # yum install libglvnd-egl
> >>    before installing the 390xx driver
> >>    # yum install kmod-nvidia-390xx
> >>    and finishing the update
> >>    # yum update
> >>    Maybe time for another update to the kmod-nvidia package page?
> >>    [1]http://elrepo.org/tiki/kmod-nvidia
> >>
> >>References
> >>
> >>    1. http://elrepo.org/tiki/kmod-nvidia
> >
> >I'm still trying to get my Centos-7.5 box up to 7.6. I had hoped
> >that the recipe above would work for me, but it does not.
> >
> >Attempting to do "yum erase kmod-nvidia" spews a long list of apparently
> >unrelated packages that will be purged along with it, so I didn't do that.
> >Trying the "yum install kmod-nvidia" (note that the 390xx package is
> >no longer the latest one so I didn't specify that) attempts to install
> >a whole ton (or two) of other packages which fails with more conflicts.
> >I don't think I should try explicitly installing the 390xx package since
> >i already have (kmod-nvidia.x86_64           410.73-1.el7_5.elrepo    @elrepo"
> >installed. I further note that epel now has 410.93 available.
> >
> 
> epel?
> 
> First up, lets see what you currently have installed. Can you show
> us the output from:
> 
> rpm -qa | grep nvidia
> 
> The latest package is kmod-nvidia-410.93-1.el7_6.elrepo.x86_64, but
> this may be excluded (hidden) from yum if you have yum-plugin-nvidia
> installed but don't yet have the el7.6 kernel installed.
> 
> >So, attempting to follow the instructions and deal with mesa-libEGL first,
> >erasing it lists a bunch of things it will remove in addition, which I
> >dont' much want to do (bunch of Gnome packages, among other things), and
> >"yum install libglvnd-egl" wants to install a whole long list of updates
> >but that fails because of failed dependencies.
> >
> >so, without being able to do the prepration outlined in the original
> >posting, if I just do "yum update" I get a lot of text flowing by, and
> >it finally ends with some errors. here (below) is the last bit of that
> >output, I'm hoping it will mean something to someone who can offer helpful
> >suggestions. I wonder why it is trying to install kmod-nvidia 340.xx
> >when I already have 410 installed? And I could avoid the whole mess by
> >doing a fresh install, but doing a fresh install is a serious pain in the
> >fundament--it takes days to get everything reconfigured the way I want it.
> >
> >--> Running transaction check
> >---> Package daxctl-libs.x86_64 0:62-1.el7 will be installed
> >---> Package kmod-nvidia-340xx.x86_64 0:340.107-2.el7_6.elrepo will be installed
> >--> Processing Conflict: nvidia-x11-drv-410.93-1.el7_6.elrepo.x86_64 conflicts ocl-icd
> >--> Processing Conflict: nvidia-x11-drv-410.93-1.el7_6.elrepo.x86_64 conflicts nvidia-x11-drv-340xx-32bit
> >--> Processing Conflict: nvidia-x11-drv-410.93-1.el7_6.elrepo.x86_64 conflicts nvidia-x11-drv-340xx
> >--> Processing Conflict: nvidia-x11-drv-340xx-340.107-1.el7.elrepo.x86_64 conflicts nvidia-x11-drv
> >--> Finished Dependency Resolution
> >--> Running transaction check
> >---> Package kernel.x86_64 0:3.10.0-862.9.1.el7 will be erased
> >---> Package kernel-devel.x86_64 0:3.10.0-862.9.1.el7 will be erased
> >---> Package nvidia-x11-drv.x86_64 0:410.73-1.el7_5.elrepo will be updated
> >---> Package nvidia-x11-drv.x86_64 0:410.73-1.el7_5.elrepo will be updated
> >---> Package nvidia-x11-drv.x86_64 0:410.73-1.el7_5.elrepo will be updated
> >---> Package nvidia-x11-drv.x86_64 0:410.73-1.el7_5.elrepo will be updated
> >---> Package nvidia-x11-drv.x86_64 0:410.73-1.el7_5.elrepo will be updated
> >--> Processing Conflict: nvidia-x11-drv-410.93-1.el7_6.elrepo.x86_64 conflicts ocl-icd
> >
> 
> The latest elrepo nvidia packages are not compatible with ocl-icd
> from epel, so if you want to use our nvidia packages you are going
> to have to uninstall ocl-icd as they both provide the same files
> (hence the conflict above).
> 
> >
> >thanks in advance!
> >
> >Fred
> >
> 
> Can I suggest you first update your kernel:
> 
> yum update kernel\*
> 
> then try updating the rest of the system with elrepo disabled:
> 
> yum --disablerepo=elrepo\* update
> 
> That should prevent yum from trying to pull in
> kmod-nvidia-340xx.x86_64 which is clearly wrong. Any errors at this
> point or does that look good?


At this step, I get this result, which doesn't seem right to me:

Transaction Summary
=====================================================================================================================================
Install   11 Packages (+38 Dependent packages)
Upgrade  935 Packages

Total size: 1.6 G
Total download size: 501 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for google-chrome
No Presto metadata available for vivaldi
No Presto metadata available for base
No Presto metadata available for base-debuginfo
epel/x86_64/prestodelta                                                                                       |  334 B  00:00:00     
(1/56): alsa-plugins-debuginfo-1.1.6-1.el7.x86_64.rpm                                                         | 208 kB  00:00:00     
(2/56): at-spi2-atk-debuginfo-2.26.2-1.el7.x86_64.rpm                                                         | 214 kB  00:00:00     
(3/56): at-spi2-core-debuginfo-2.28.0-1.el7.x86_64.rpm                                                        | 369 kB  00:00:00     
(4/56): alsa-lib-debuginfo-1.1.6-2.el7.x86_64.rpm                                                             | 1.3 MB  00:00:01     
(5/56): atk-debuginfo-2.28.1-1.el7.x86_64.rpm                                                                 | 215 kB  00:00:00     
(6/56): distribution-gpg-keys-1.28-1.el7.noarch.rpm                                                           | 192 kB  00:00:00     
(7/56): dbus-debuginfo-1.10.24-12.el7.x86_64.rpm                                                              | 1.5 MB  00:00:01     
(8/56): cairo-debuginfo-1.15.12-3.el7.x86_64.rpm                                                              | 2.6 MB  00:00:01     
(9/56): e2fsprogs-debuginfo-1.42.9-13.el7.x86_64.rpm                                                          | 1.4 MB  00:00:01     
(10/56): elfutils-debuginfo-0.172-2.el7.x86_64.rpm                                                            | 1.9 MB  00:00:01     
(11/56): fontconfig-debuginfo-2.13.0-4.3.el7.x86_64.rpm                                                       | 458 kB  00:00:00     
(12/56): freetype-debuginfo-2.8-12.el7_6.1.x86_64.rpm                                                         | 2.1 MB  00:00:01     
(13/56): gcc-base-debuginfo-4.8.5-36.el7.x86_64.rpm                                                           | 2.9 MB  00:00:02     
(14/56): gdk-pixbuf2-debuginfo-2.36.12-3.el7.x86_64.rpm                                                       | 769 kB  00:00:00     
(15/56): glib2-debuginfo-2.56.1-2.el7.x86_64.rpm                                                              | 8.0 MB  00:00:08     
(16/56): glibc-debuginfo-2.17-260.el7_6.3.x86_64.rpm                                                          | 9.5 MB  00:00:09     
(17/56): glibc-debuginfo-common-2.17-260.el7_6.3.x86_64.rpm                                                   | 9.5 MB  00:00:09     
(18/56): google-noto-emoji-fonts-20180508-4.el7.noarch.rpm                                                    | 292 kB  00:00:00     
(19/56): gnutls-debuginfo-3.3.29-8.el7.x86_64.rpm                                                             | 2.4 MB  00:00:02     
(20/56): gstreamer1-plugins-base-debuginfo-1.10.4-2.el7.x86_64.rpm                                            | 4.2 MB  00:00:04     
(21/56): google-chrome-stable-72.0.3626.109-1.x86_64.rpm                                                      |  55 MB  00:00:13     
(22/56): gtk3-debuginfo-3.22.30-3.el7.x86_64.rpm                                                              |  14 MB  00:00:14     
(23/56): gvfs-debuginfo-1.36.2-1.el7.x86_64.rpm                                                               | 2.5 MB  00:00:02     
(24/56): harfbuzz-debuginfo-1.7.5-2.el7.x86_64.rpm                                                            | 1.4 MB  00:00:01     
(25/56): initscripts-9.49.46-1.el7.x86_64.rpm                                                                 | 439 kB  00:00:00     
(26/56): icu-debuginfo-50.1.2-17.el7.x86_64.rpm                                                               | 6.9 MB  00:00:07     
(27/56): jasper-debuginfo-1.900.1-33.el7.x86_64.rpm                                                           | 460 kB  00:00:00     
(28/56): kmod-20-23.el7.x86_64.rpm                                                                            | 121 kB  00:00:00     
(29/56): json-glib-debuginfo-1.4.2-2.el7.x86_64.rpm                                                           | 338 kB  00:00:00     
(30/56): krb5-debuginfo-1.15.1-37.el7_6.x86_64.rpm                                                            | 4.2 MB  00:00:04     
(31/56): libX11-debuginfo-1.6.5-2.el7.x86_64.rpm                                                              | 1.7 MB  00:00:01     
(32/56): libXcursor-debuginfo-1.1.15-1.el7.x86_64.rpm                                                         |  75 kB  00:00:00     
(33/56): libcroco-debuginfo-0.6.12-4.el7.x86_64.rpm                                                           | 323 kB  00:00:00     
(34/56): libdrm-debuginfo-2.4.91-3.el7.x86_64.rpm                                                             | 638 kB  00:00:00     
(35/56): libepoxy-debuginfo-1.5.2-1.el7.x86_64.rpm                                                            | 1.1 MB  00:00:01     
(36/56): libjpeg-turbo-debuginfo-1.2.90-6.el7.x86_64.rpm                                                      | 630 kB  00:00:00     
(37/56): librsvg2-debuginfo-2.40.20-1.el7.x86_64.rpm                                                          | 395 kB  00:00:00     
(38/56): libsecret-debuginfo-0.18.6-1.el7.x86_64.rpm                                                          | 375 kB  00:00:00     
(39/56): libselinux-debuginfo-2.5-14.1.el7.x86_64.rpm                                                         | 749 kB  00:00:00     
(40/56): libsepol-debuginfo-2.5-10.el7.x86_64.rpm                                                             | 889 kB  00:00:00     
(41/56): libsoup-debuginfo-2.62.2-2.el7.x86_64.rpm                                                            | 813 kB  00:00:00     
(42/56): libxcb-debuginfo-1.13-1.el7.x86_64.rpm                                                               | 846 kB  00:00:00     
(43/56): mesa-debuginfo-18.0.5-4.el7_6.x86_64.rpm                                                             |  56 MB  00:00:55     
(44/56): openjpeg-debuginfo-1.5.1-18.el7.x86_64.rpm                                                           | 610 kB  00:00:00     
(45/56): gcc-debuginfo-4.8.5-36.el7.x86_64.rpm                                                                | 195 MB  00:02:14     
(46/56): pango-debuginfo-1.42.4-1.el7.x86_64.rpm                                                              | 859 kB  00:00:00     
(47/56): polkit-debuginfo-0.112-18.el7.x86_64.rpm                                                             | 378 kB  00:00:00     
(48/56): openssl-debuginfo-1.0.2k-16.el7.x86_64.rpm                                                           | 4.3 MB  00:00:04     
(49/56): spice-streaming-agent-0.2-3.el7.x86_64.rpm                                                           |  37 kB  00:00:00     
(50/56): rest-debuginfo-0.8.1-2.el7.x86_64.rpm                                                                | 147 kB  00:00:00     
(51/56): python-debuginfo-2.7.5-76.el7.x86_64.rpm                                                             | 7.0 MB  00:00:04     
(52/56): util-linux-debuginfo-2.23.2-59.el7.x86_64.rpm                                                        | 3.0 MB  00:00:02     
(53/56): wayland-debuginfo-1.15.0-1.el7.x86_64.rpm                                                            | 269 kB  00:00:00     
(54/56): zlib-debuginfo-1.2.7-18.el7.x86_64.rpm                                                               | 244 kB  00:00:00     
(55/56): vivaldi-stable-2.3.1440.48-1.x86_64.rpm                                                              |  56 MB  00:00:11     
(56/56): systemd-debuginfo-219-62.el7_6.3.x86_64.rpm                                                          |  34 MB  00:00:34     
-------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                2.8 MB/s | 501 MB  00:02:58     
Running transaction check
Running transaction test


Transaction check error:
  file /usr/lib/debug/usr/lib64/libwayland-egl.so.1.0.0.debug conflicts between attempted installs of wayland-debuginfo-1.15.0-1.el7.x86_64 and mesa-debuginfo-18.0.5-4.el7_6.x86_64

Error Summary
-------------

and there was no error summary, it just fell back to a prompt.

So, I --exclude-d the wayland debuginfo and started it again.
it is still running, seems, so far, to be going well.

"Film at eleven!" as they say in the TV news biz

> 
> Then update the nvidia packages from elrepo, having first
> uninstalled ocl-icd
> 
> yum erase ocl-icd
> yum update kmod-nvidia
> 
> If you get this far, you'll need to reboot to the new el7.6 kernel
> and pick up the new nvidia drivers.
> 
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo

-- 
-------------------------------------------------------------------------------
    Under no circumstances will I ever purchase anything offered to me as
    the result of an unsolicited e-mail message. Nor will I forward chain
    letters, petitions, mass mailings, or virus warnings to large numbers
    of others. This is my contribution to the survival of the online
    community.
 --Roger Ebert, December, 1996
----------------------------- The Boulder Pledge -----------------------------


More information about the elrepo mailing list