Bug#906903: nvidia-driver: broken(?) dependencies

Vincent McIntyre vincent.mcintyre at csiro.au
Wed Aug 22 03:31:18 BST 2018


Package: nvidia-driver
Version: 384.130-1 990
Severity: normal

Dear Maintainer,

   * What led up to the situation?

   I had a working stretch system using nouveau.
   I wanted to try the nvidia drivers, since I had used them in jessie,
   on the same hardware.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

    # apt-cache policy nvidia-driver
	nvidia-driver:
	  Installed: (none)
	  Candidate: 384.130-1
	  Version table:
		 390.77-1~bpo9+1 200
			200 http://debian-archive.atnf.csiro.au:9999/debian stretch-backports/non-free amd64 Packages
		 384.130-1 990
			990 http://debian-archive.atnf.csiro.au:9999/debian stretch/non-free amd64 Packages

   # apt-get install nvidia-driver

   * What was the outcome of this action?

	Reading package lists... Done
	Building dependency tree       
	Reading state information... Done
	Some packages could not be installed. This may mean that you have
	requested an impossible situation or if you are using the unstable
	distribution that some required packages have not yet been created
	or been moved out of Incoming.
	The following information may help to resolve the situation:

	The following packages have unmet dependencies:
	 nvidia-driver : Depends: nvidia-driver-libs (= 384.130-1) but it is not going to be installed or
							  nvidia-driver-libs-nonglvnd (= 384.130-1) but it is not going to be installed
	E: Unable to correct problems, you have held broken packages.

   * What outcome did you expect instead?

   I expected the driver stack to be installed

   * Things I tried

	# apt-get install nvidia-driver-libs
	Reading package lists... Done
	Building dependency tree       
	Reading state information... Done
	Some packages could not be installed. This may mean that you have
	requested an impossible situation or if you are using the unstable
	distribution that some required packages have not yet been created
	or been moved out of Incoming.
	The following information may help to resolve the situation:

	The following packages have unmet dependencies:
	 nvidia-driver-libs : Depends: nvidia-egl-icd (= 384.130-1) but it is not going to be installed
	E: Unable to correct problems, you have held broken packages.

    # apt-mark showhold |wc
          0       0       0

	# apt-get install nvidia-driver-libs-nonglvnd
	Reading package lists... Done
	Building dependency tree       
	Reading state information... Done
	The following package was automatically installed and is no longer required:
	  dkms
	Use 'sudo apt autoremove' to remove it.
	The following additional packages will be installed:
	  glx-alternative-nvidia glx-diversions libegl-nvidia0 libegl1-nvidia libgl1-nvidia-glx libnvidia-eglcore libnvidia-glcore
	  nvidia-alternative nvidia-support
	Suggested packages:
	  nvidia-driver nvidia-kernel-dkms | nvidia-kernel-source
	Recommended packages:
	  nvidia-kernel-dkms | nvidia-kernel-384.130 nvidia-driver-libs-nonglvnd-i386 libglx-nvidia0 libgles-nvidia1 libgles-nvidia2
	  libnvidia-cfg1 nvidia-egl-wayland-icd nvidia-nonglvnd-vulkan-icd
	The following NEW packages will be installed:
	  glx-alternative-nvidia glx-diversions libegl-nvidia0 libegl1-nvidia libgl1-nvidia-glx libnvidia-eglcore libnvidia-glcore
	  nvidia-alternative nvidia-driver-libs-nonglvnd nvidia-support
	0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
	Need to get 961 kB/14.8 MB of archives.
	After this operation, 63.3 MB of additional disk space will be used.
	^C

    I have no idea what nvidia-driver-libs-nonglvnd is
    (how would I find out if I should be selecting it?),
    and bug 887063 has a comment
       (nvidia-driver-libs-nonglvnd is still buggy there ...)
    So I tried another option

	# apt-get install nvidia-driver nvidia-egl-icd
	[sudo] password for mci156: 
	Reading package lists... Done
	Building dependency tree       
	Reading state information... Done
	The following packages were automatically installed and are no longer required:
	  liba52-0.7.4 libaa1 libass5 libavc1394-0 libbasicusageenvironment1 libcaca0
	  libdc1394-22 libdca0 libdvbpsi10 libdvdnav4 libdvdread4 libebml4v5
	  libglapi-mesa libgles2-mesa libgroupsock8 libkate1 liblivemedia57 liblua5.2-0
	  libmad0 libmatroska6v5 libmicrodns0 libmpcdec6 libmpeg2-4 libnfs8
	  libopenmpt-modplug1 libpostproc54 libprotobuf-lite10 libqt5x11extras5
	  libraw1394-11 libresid-builder0c2a libsdl-image1.2 libsdl1.2debian
	  libsecret-1-0 libsecret-common libshout3 libsidplay2 libspeexdsp1 libswscale4
	  libupnp6 libusageenvironment3 libva-wayland1 libvlc-bin libvlc5 libvlccore9
	  libxcb-xv0 vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-qt
	Use 'sudo apt autoremove' to remove them.
	The following additional packages will be installed:
	  glx-alternative-nvidia glx-diversions libegl-nvidia0 libegl1-glvnd-nvidia
	  libgl1 libgl1-nvidia-glvnd-glx libglx-nvidia0 libglx0 libnvidia-eglcore
	  libnvidia-glcore libnvidia-ml1 nvidia-alternative nvidia-driver-bin
	  nvidia-driver-libs nvidia-egl-common nvidia-kernel-common nvidia-kernel-dkms
	  nvidia-kernel-support nvidia-modprobe nvidia-support nvidia-vdpau-driver
	  xserver-xorg-video-nvidia
	Recommended packages:
	  nvidia-settings nvidia-persistenced nvidia-driver-libs-i386 libopengl0
	  | libopengl0-glvnd-nvidia libgles-nvidia1 libgles-nvidia2 libnvidia-cfg1
	  nvidia-egl-wayland-icd nvidia-vulkan-icd
	The following packages will be REMOVED:
	  libgl1-mesa-glx vlc vlc-plugin-video-output
	The following NEW packages will be installed:
	  glx-alternative-nvidia glx-diversions libegl-nvidia0 libegl1-glvnd-nvidia
	  libgl1 libgl1-nvidia-glvnd-glx libglx-nvidia0 libglx0 libnvidia-eglcore
	  libnvidia-glcore libnvidia-ml1 nvidia-alternative nvidia-driver
	  nvidia-driver-bin nvidia-driver-libs nvidia-egl-common nvidia-egl-icd
	  nvidia-kernel-common nvidia-kernel-dkms nvidia-kernel-support nvidia-modprobe
	  nvidia-support nvidia-vdpau-driver xserver-xorg-video-nvidia
	0 upgraded, 24 newly installed, 3 to remove and 0 not upgraded.
	Need to get 0 B/28.9 MB of archives.
	After this operation, 116 MB of additional disk space will be used.
	Do you want to continue? [Y/n] n
	Abort.

    So it would appear something vlc is depending on is breaking things.
    I dug into that but could not find anything that seemed like it would
    conflict.

    I went ahead and tried installing all that stuff.
    But now I have a new problem, extremely strange:
    the console stops displaying anything during (non-quiet) boot, at

    [    2.206678] nvidia-nvlink: Nvlink Core is being initialized, major device numbe
    r 246
    [    2.207214] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,
    decodes=none:owns=io+mem
    [    2.207472] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  384.130  Wed Mar 21
     03:37:26 PDT 2018 (using threaded interrupts)
     [    2.216896] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  384.130  Wed Mar 21 02:59:49 PDT 2018

    The system boots ok but there is no login prompt.
    I shall report this as a separate bug.


    * What would you like the maintainer to do with your report?

    Please can you help me understand the dependency issue and document it for others.
    I am extremely surprised this is happening in a stable release.

-- System Information:
Debian Release: 9.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nvidia-driver depends on:
pn  nvidia-alternative                                <none>
pn  nvidia-driver-bin                                 <none>
pn  nvidia-driver-libs | nvidia-driver-libs-nonglvnd  <none>
ii  nvidia-installer-cleanup                          20151021+4
pn  nvidia-kernel-dkms | nvidia-kernel-384.130        <none>
pn  nvidia-kernel-dkms | nvidia-kernel-390.77         <none>
ii  nvidia-legacy-check                               384.130-1
pn  nvidia-support                                    <none>
pn  nvidia-vdpau-driver                               <none>
pn  xserver-xorg-video-nvidia                         <none>

Versions of packages nvidia-driver recommends:
pn  nvidia-persistenced  <none>
pn  nvidia-settings      <none>

Versions of packages nvidia-driver suggests:
pn  nvidia-kernel-dkms | nvidia-kernel-source  <none>



More information about the pkg-nvidia-devel mailing list