Bug#891731: nvidia-legacy-check: check fails preventing apt full-upgrade

John Kozak jk at thameslighter.net
Wed Feb 28 18:53:01 UTC 2018


Andreas Beckmann writes:

> On 2018-02-28 14:39, John Kozak wrote:
>> Thanks - one more thing: on a reboot (yes, I should have checked this
>> before filing an all-clear!) X didn't start but was fixed by
>> `update-glx` (changing from 0 to 2):
>>
>>   $ sudo update-glx --config nvidia
>>   There are 2 choices for the alternative nvidia (providing /usr/lib/nvidia/nvidia).
>>
>>     Selection    Path                          Priority   Status
>>   ------------------------------------------------------------
>>     0            /usr/lib/nvidia/current        384       auto mode
>>     1            /usr/lib/nvidia/current        384       manual mode
>>   * 2            /usr/lib/nvidia/legacy-340xx   340       manual mode
>>
>> /usr/lib/nvidia/current is an empty directory.
>
> If that directory and the alternative still exist, some packages from
> the current driver must still be installed. Or you found another bug.
>
> Please send the output of
>
>     dpkg -l | grep nvidia

ii  glx-alternative-nvidia                        0.8.3                                        amd64        allows the selection of NVIDIA as GLX provider
ii  libegl-nvidia0:amd64                          384.111-4                                    amd64        NVIDIA binary EGL library
ii  libegl-nvidia0:i386                           384.111-4                                    i386         NVIDIA binary EGL library
ic  libegl1-nvidia:amd64                          340.96-1                                     amd64        NVIDIA binary EGL libraries
ii  libegl1-nvidia-legacy-340xx:amd64             340.106-2                                    amd64        NVIDIA binary EGL library (340xx legacy version)
ii  libegl1-nvidia-legacy-340xx:i386              340.106-2                                    i386         NVIDIA binary EGL library (340xx legacy version)
ii  libgl1-nvidia-glvnd-glx:i386                  384.111-4                                    i386         NVIDIA binary OpenGL/GLX library (GLVND variant)
ic  libgl1-nvidia-glx:amd64                       340.96-1                                     amd64        NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-legacy-340xx-glx:amd64          340.106-2                                    amd64        NVIDIA binary OpenGL/GLX library (340xx legacy version)
ii  libgl1-nvidia-legacy-340xx-glx:i386           340.106-2                                    i386         NVIDIA binary OpenGL/GLX library (340xx legacy version)
ii  libgles-nvidia2:i386                          384.111-4                                    i386         NVIDIA binary OpenGL|ES 2.x library
ic  libgles1-nvidia:amd64                         340.96-1                                     amd64        NVIDIA binary OpenGL|ES 1.x libraries
ii  libgles1-nvidia-legacy-340xx:amd64            340.106-2                                    amd64        NVIDIA binary OpenGL|ES 1.x library (340xx legacy version)
ii  libgles1-nvidia-legacy-340xx:i386             340.106-2                                    i386         NVIDIA binary OpenGL|ES 1.x library (340xx legacy version)
ic  libgles2-nvidia:amd64                         340.96-1                                     amd64        NVIDIA binary OpenGL|ES 2.x libraries
ii  libgles2-nvidia-legacy-340xx:amd64            340.106-2                                    amd64        NVIDIA binary OpenGL|ES 2.x library (340xx legacy version)
ii  libgles2-nvidia-legacy-340xx:i386             340.106-2                                    i386         NVIDIA binary OpenGL|ES 2.x library (340xx legacy version)
ii  libglx-nvidia0:amd64                          384.111-4                                    amd64        NVIDIA binary GLX library
ii  libglx-nvidia0:i386                           384.111-4                                    i386         NVIDIA binary GLX library
ii  libnvidia-cfg1:i386                           384.111-4                                    i386         NVIDIA binary OpenGL/GLX configuration library
ic  libnvidia-compiler:amd64                      340.96-1                                     amd64        NVIDIA runtime compiler library
ii  libnvidia-egl-wayland1:amd64                  384.111-4                                    amd64        NVIDIA binary Wayland EGL external platform library
ii  libnvidia-egl-wayland1:i386                   384.111-4                                    i386         NVIDIA binary Wayland EGL external platform library
ii  libnvidia-eglcore:amd64                       384.111-4                                    amd64        NVIDIA binary EGL core libraries
ii  libnvidia-eglcore:i386                        384.111-4                                    i386         NVIDIA binary EGL core libraries
ii  libnvidia-glcore:amd64                        384.111-4                                    amd64        NVIDIA binary OpenGL/GLX core libraries
ii  libnvidia-glcore:i386                         384.111-4                                    i386         NVIDIA binary OpenGL/GLX core libraries
ii  libnvidia-legacy-340xx-cfg1:amd64             340.106-2                                    amd64        NVIDIA binary OpenGL/GLX configuration library (340xx legacy version)
ii  libnvidia-legacy-340xx-cfg1:i386              340.106-2                                    i386         NVIDIA binary OpenGL/GLX configuration library (340xx legacy version)
ii  libnvidia-legacy-340xx-eglcore:amd64          340.106-2                                    amd64        NVIDIA binary EGL core libraries (340xx legacy version)
ii  libnvidia-legacy-340xx-eglcore:i386           340.106-2                                    i386         NVIDIA binary EGL core libraries (340xx legacy version)
ii  libnvidia-legacy-340xx-glcore:amd64           340.106-2                                    amd64        NVIDIA binary OpenGL/GLX core libraries (340xx legacy version)
ii  libnvidia-legacy-340xx-glcore:i386            340.106-2                                    i386         NVIDIA binary OpenGL/GLX core libraries (340xx legacy version)
ii  libnvidia-legacy-340xx-ml1:amd64              340.106-2                                    amd64        NVIDIA Management Library (NVML) runtime library (340xx legacy version)
ic  libnvidia-ml1:amd64                           340.96-1                                     amd64        NVIDIA Management Library (NVML) runtime library
ii  nvidia-alternative                            384.111-4                                    amd64        allows the selection of NVIDIA as GLX provider
ic  nvidia-cuda-toolkit                           8.0.44-2                                     amd64        NVIDIA CUDA development toolkit
ii  nvidia-detect                                 384.111-4                                    amd64        NVIDIA GPU detection utility
ii  nvidia-driver-libs:i386                       384.111-4                                    i386         NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii  nvidia-driver-libs-i386:i386                  384.111-4                                    i386         NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries)
ii  nvidia-egl-common                             384.111-4                                    amd64        NVIDIA binary EGL driver - common files
ii  nvidia-egl-icd:i386                           384.111-4                                    i386         NVIDIA EGL installable client driver (ICD)
ii  nvidia-egl-wayland-common                     384.111-4                                    amd64        NVIDIA binary Wayland EGL external platform - common files
ii  nvidia-egl-wayland-icd:i386                   384.111-4                                    i386         NVIDIA Wayland EGL external platform library (ICD)
ii  nvidia-installer-cleanup                      20151021+7                                   amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                          20151021+7                                   amd64        NVIDIA binary kernel module support files
ii  nvidia-legacy-340xx-alternative               340.106-2                                    amd64        allows the selection of NVIDIA as GLX provider (340xx legacy version)
ii  nvidia-legacy-340xx-driver                    340.106-2                                    amd64        NVIDIA metapackage (340xx legacy version)
ii  nvidia-legacy-340xx-driver-bin                340.106-2                                    amd64        NVIDIA driver support binaries (340xx legacy version)
ii  nvidia-legacy-340xx-driver-libs:amd64         340.106-2                                    amd64        NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries) (340xx legacy version)
ii  nvidia-legacy-340xx-driver-libs:i386          340.106-2                                    i386         NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries) (340xx legacy version)
ii  nvidia-legacy-340xx-driver-libs-i386:i386     340.106-2                                    i386         NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries) (340xx legacy)
ii  nvidia-legacy-340xx-kernel-dkms               340.106-2                                    amd64        NVIDIA binary kernel module DKMS source (340xx legacy version)
ii  nvidia-legacy-340xx-kernel-support            340.106-2                                    amd64        NVIDIA binary kernel module support files (340xx legacy version)
ii  nvidia-legacy-340xx-vdpau-driver:amd64        340.106-2                                    amd64        Video Decode and Presentation API for Unix - NVIDIA driver (340xx legacy)
ii  nvidia-legacy-check                           384.111-4                                    amd64        check for NVIDIA GPUs requiring a legacy driver
ii  nvidia-modprobe                               384.111-1                                    amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-opencl-common                          384.111-4                                    amd64        NVIDIA OpenCL driver - common files
ic  nvidia-opencl-icd:amd64                       340.96-1                                     amd64        NVIDIA OpenCL installable client driver (ICD)
ii  nvidia-persistenced                           384.111-1                                    amd64        daemon to maintain persistent software state in the NVIDIA driver
ic  nvidia-settings                               340.93-1                                     amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-settings-legacy-340xx                  340.104-1                                    amd64        tool for configuring the NVIDIA graphics driver (340xx legacy version)
ii  nvidia-support                                20151021+7                                   amd64        NVIDIA binary graphics driver support files
ic  nvidia-vdpau-driver:amd64                     340.96-1                                     amd64        Video Decode and Presentation API for Unix - NVIDIA driver
ii  nvidia-vulkan-common                          384.111-4                                    amd64        NVIDIA Vulkan driver - common files
ii  nvidia-vulkan-icd:amd64                       384.111-4                                    amd64        NVIDIA Vulkan installable client driver (ICD)
ii  nvidia-vulkan-icd:i386                        384.111-4                                    i386         NVIDIA Vulkan installable client driver (ICD)
ii  xserver-xorg-video-nvidia-legacy-340xx        340.106-2                                    amd64        NVIDIA binary Xorg driver (340xx legacy version)


>
>     dpkg -S /usr/lib/nvidia/current

nvidia-alternative: /usr/lib/nvidia/current

>
> I suspect the nvidia-alternative package to be still installed (not the
> -legacy-340xx one, that of course needs to be there), but that shouldn't
> be possible after you purged nvidia-legacy-check.
>
>
> Andreas


--
John



More information about the pkg-nvidia-devel mailing list