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

Luca Boccassi luca.boccassi at gmail.com
Tue Nov 22 09:08:48 UTC 2016


Control: -1 normal

On Tue, 2016-11-22 at 09:34 +0100, Vincent Lefevre wrote:
> Control: severity -1 serious
> 
> due to inconsistent Recommends, which may be one of the causes of the
> issue.

I already explained that the -2 version only adds a patch to fix kernel
builds and there is no point holding that back, in fact it will cause
actual problem to users. Please stop fiddling with the severity.

> 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

There is _nothing_ wrong with any of this. It's all working as intended.

libgl1-nvidia-glx provides the legacy non-glvnd libraries, which
conflict with the glvnd packages. The glvnd are the default, and that's
why the nvidia-driver-libs _metapackage_ will get removed. Again, as
expected.

The nvidia-driver metapackage is provided as the top-level dependency to
allow users who don't know how the packages are structured to simply and
easily get the correct full working default set without having to worry
about anything. Just use it.

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20161122/fc1b979f/attachment-0001.sig>


More information about the pkg-nvidia-devel mailing list