Bug#844300: nvidia-driver-libs:amd64: upgrade failure due to dependency issue

Vincent Lefevre vincent at vinc17.net
Tue Nov 22 08:34:18 UTC 2016


Control: severity -1 serious

due to inconsistent Recommends, which may be one of the causes of the
issue.

On 2016-11-22 00:37:14 +0000, Luca Boccassi wrote:
> I can't manage to reproduce this.
> 
> In the end, you shouldn't have let aptitude remove the packages. It can
> happen from time to time on unstable to have temporary inconsistent
> state in the apt tree (that's why it's called unstable), for example in
> this case it was probably because the new amd64 version was up in the
> repo but the i386 was still being built/published.
> 
> The solution is simply to reinstall what was removed, so there's nothing
> that justifies holding he migration of 367.57-2 to stretch, which just
> adds a patch to make it compatible with newer kernels which are about to
> be uploaded and nothing else, so severity downgraded.

I've tried a full reinstallation of the nvidia packages, but get
conflicts as shown below. First, it confuses apt / apt-get, which
have themselves an inconsistent behavior. I've reported:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845299

Now, after installing nvidia-kernel-dkms (with its dependencies),
I need to install nvidia-settings, and I get:

cventin:~> apt install -s nvidia-settings
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-doc-4.6 linux-image-4.5.0-2-amd64 linux-image-4.6.0-1-amd64
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libxnvctrl0
Recommended packages:
  libgl1-nvidia-glx
The following NEW packages will be installed:
  libxnvctrl0 nvidia-settings
0 upgraded, 2 newly installed, 0 to remove and 278 not upgraded.
Inst libxnvctrl0 (361.45.11-1 Debian:testing, Debian:unstable [amd64])
Inst nvidia-settings (361.45.11-1 Debian:testing, Debian:unstable [amd64])
Conf libxnvctrl0 (361.45.11-1 Debian:testing, Debian:unstable [amd64])
Conf nvidia-settings (361.45.11-1 Debian:testing, Debian:unstable [amd64])

You can see that the recommended package libgl1-nvidia-glx is not
installed by default. If I force its installation:

cventin:~> apt install -s nvidia-settings libgl1-nvidia-glx
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libegl-nvidia0:i386 libegl1-glvnd-nvidia:i386 libgl1-nvidia-glx:i386
  linux-doc-4.6 linux-image-4.5.0-2-amd64 linux-image-4.6.0-1-amd64
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libgl1-nvidia-glx:i386 libxnvctrl0
The following packages will be REMOVED:
  libgl1-glvnd-nvidia-glx libgl1-glvnd-nvidia-glx:i386 nvidia-driver-libs:i386
  nvidia-driver-libs-i386:i386
The following NEW packages will be installed:
  libgl1-nvidia-glx libgl1-nvidia-glx:i386 libxnvctrl0 nvidia-settings
0 upgraded, 4 newly installed, 4 to remove and 278 not upgraded.
Remv nvidia-driver-libs-i386:i386 [367.57-2]
Remv nvidia-driver-libs:i386 [367.57-2]
Remv libgl1-glvnd-nvidia-glx:i386 [367.57-2]
Remv libgl1-glvnd-nvidia-glx [367.57-2] [nvidia-driver-libs:amd64 ]
Inst libgl1-nvidia-glx (367.57-2 Debian:unstable [amd64])
Inst libgl1-nvidia-glx:i386 (367.57-2 Debian:unstable [i386])
Inst libxnvctrl0 (361.45.11-1 Debian:testing, Debian:unstable [amd64])
Inst nvidia-settings (361.45.11-1 Debian:testing, Debian:unstable [amd64])
Conf libgl1-nvidia-glx (367.57-2 Debian:unstable [amd64])
Conf libgl1-nvidia-glx:i386 (367.57-2 Debian:unstable [i386])
Conf libxnvctrl0 (361.45.11-1 Debian:testing, Debian:unstable [amd64])
Conf nvidia-settings (361.45.11-1 Debian:testing, Debian:unstable [amd64])

nvidia-driver-libs-i386 is removed!!!

Here's what aptitude says:

cventin:~> aptitude install -s nvidia-settings
The following NEW packages will be installed:
  libgl1-nvidia-glx{a} libxnvctrl0{a} nvidia-settings 
0 packages upgraded, 3 newly installed, 0 to remove and 278 not upgraded.
Need to get 0 B/1461 kB of archives. After unpacking 5587 kB will be used.
The following packages have unmet dependencies:
 libgl1-glvnd-nvidia-glx : Conflicts: libgl1-nvidia-glx but 367.57-2 is to be installed
 libgl1-glvnd-nvidia-glx:i386 : Conflicts: libgl1-nvidia-glx but 367.57-2 is to be installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libgl1-nvidia-glx [Not Installed]                  

     Leave the following dependencies unresolved:         
2)     nvidia-settings recommends libgl1-nvidia-glx       



Accept this solution? [Y/n/q/?] q

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-nvidia-devel mailing list