Bug#906903: nvidia-driver: broken(?) dependencies
Vincent McIntyre
vincent.mcintyre at csiro.au
Thu Aug 23 00:11:24 BST 2018
On Wed, Aug 22, 2018 at 11:04:19PM +0200, Andreas Beckmann wrote:
> On 2018-08-22 04:31, Vincent McIntyre wrote:
> > # 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
>
> We have had this before ... having both stretch and stretch-backports
> enabled and trying to track stretch does not work currently for the
> nvidia driver ... too many changes w.r.t. libglvnd etc.
Thanks Andreas
I disabled the backports package source and - voila.
# apt-get install nvidia-driver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
glx-alternative-mesa glx-alternative-nvidia glx-diversions libegl-nvidia0
libegl1-glvnd-nvidia libgl1-glvnd-nvidia-glx libgl1-nvidia-glvnd-glx
libglvnd0-nvidia libglx-nvidia0 libglx0-glvnd-nvidia libnvidia-eglcore
libnvidia-glcore libnvidia-ml1 nvidia-alternative nvidia-driver-bin
nvidia-driver-libs nvidia-egl-common nvidia-egl-icd nvidia-installer-cleanup
nvidia-kernel-common nvidia-kernel-dkms nvidia-kernel-support
nvidia-legacy-check nvidia-modprobe nvidia-support nvidia-vdpau-driver
update-glx 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 NEW packages will be installed:
glx-alternative-mesa glx-alternative-nvidia glx-diversions libegl-nvidia0
libegl1-glvnd-nvidia libgl1-glvnd-nvidia-glx libgl1-nvidia-glvnd-glx
libglvnd0-nvidia libglx-nvidia0 libglx0-glvnd-nvidia libnvidia-eglcore
libnvidia-glcore libnvidia-ml1 nvidia-alternative nvidia-driver
nvidia-driver-bin nvidia-driver-libs nvidia-egl-common nvidia-egl-icd
nvidia-installer-cleanup nvidia-kernel-common nvidia-kernel-dkms
nvidia-kernel-support nvidia-legacy-check nvidia-modprobe nvidia-support
nvidia-vdpau-driver update-glx xserver-xorg-video-nvidia
0 upgraded, 29 newly installed, 0 to remove and 7 not upgraded.
Need to get 29.7 MB of archives.
After this operation, 119 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
Turn backports on again and it also works if I specify backports
# apt-get -t stretch-backports install nvidia-driver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
glx-alternative-mesa glx-alternative-nvidia glx-diversions libdrm-common
libdrm2 libegl-nvidia0 libegl1 libegl1-mesa libgl1 libgl1-mesa-glx
libgl1-nvidia-glvnd-glx libglapi-mesa libgles2 libgles2-mesa libglvnd0
libglx-mesa0 libglx-nvidia0 libglx0 libnvidia-eglcore libnvidia-glcore
libnvidia-ml1 libwayland-egl1-mesa nvidia-alternative nvidia-driver-bin
nvidia-driver-libs nvidia-egl-common nvidia-egl-icd nvidia-installer-cleanup
nvidia-kernel-common nvidia-kernel-dkms nvidia-kernel-support
nvidia-legacy-check nvidia-modprobe nvidia-support nvidia-vdpau-driver
update-glx xserver-xorg-video-nvidia
Recommended packages:
nvidia-settings nvidia-persistenced nvidia-driver-libs-i386 libopengl0
| libopengl0-glvnd-nvidia libgles-nvidia2 libnvidia-cfg1
nvidia-egl-wayland-icd nvidia-vulkan-icd
The following NEW packages will be installed:
glx-alternative-mesa glx-alternative-nvidia glx-diversions libdrm-common
libegl-nvidia0 libegl1 libgl1 libgl1-nvidia-glvnd-glx libgles2 libglvnd0
libglx-mesa0 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-installer-cleanup
nvidia-kernel-common nvidia-kernel-dkms nvidia-kernel-support
nvidia-legacy-check nvidia-modprobe nvidia-support nvidia-vdpau-driver
update-glx xserver-xorg-video-nvidia
The following packages will be upgraded:
libdrm2 libegl1-mesa libgl1-mesa-glx libglapi-mesa libgles2-mesa
libwayland-egl1-mesa
6 upgraded, 32 newly installed, 0 to remove and 113 not upgraded.
Need to get 30.2 MB of archives.
After this operation, 117 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
The diff of the installed packages is like so:
--- stable.sort 2018-08-23 09:02:51.880118125 +1000
+++ backports.sort 2018-08-23 09:02:51.880118125 +1000
@@ -1,16 +1,25 @@
glx-alternative-mesa
glx-alternative-nvidia
glx-diversions
-libegl1-glvnd-nvidia
+libdrm2
+libdrm-common
+libegl1
+libegl1-mesa
libegl-nvidia0
-libgl1-glvnd-nvidia-glx
+libgl1
+libgl1-mesa-glx
libgl1-nvidia-glvnd-glx
-libglvnd0-nvidia
-libglx0-glvnd-nvidia
+libglapi-mesa
+libgles2
+libgles2-mesa
+libglvnd0
+libglx0
+libglx-mesa0
libglx-nvidia0
libnvidia-eglcore
libnvidia-glcore
libnvidia-ml1
+libwayland-egl1-mesa
nvidia-alternative
nvidia-driver
nvidia-driver-bin
So even though I have such a large priority difference in favour of
stable, apt is somehow preferring libegl1, which comes from backports,
over libegl1-glvnd-nvidia.
Well nevermind, I guess we will try to figure out some preferences
magic to prevent mixing nvidia packages from stable & backports.
If you have some suggestions based on your experience, I would
welcome them.
Otherwise, please close this bug.
Kind regards
Vince
More information about the pkg-nvidia-devel
mailing list