Bug#855024: Install nvidia-driver package from jessie-backports using different methods

Markus Lindberg markus.lindberg at axis.com
Mon Feb 13 11:13:34 UTC 2017


Package: nvidia-driver
Version: 375.26-1~bpo8+1

I have tried two different methods to install the 'nvidia-driver' 
package from the 'jessie-backports' repository using 'apt-get' and only 
one method succeeds. As far as I know you can install a package from 
'jessie-backports' by using two different methods. Method one would be 
to use the option 'apt-get install -t jessie-backports nvidia-driver' 
and the second one would be 'apt-get install 
nvidia-driver/jessie-backports'. But the second method fails for the 
'nvidia-driver' package.

Here is a sample output from both commands:

# apt-get install -t jessie-backports nvidia-driver
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
   dkms glx-alternative-mesa glx-alternative-nvidia glx-diversions 
libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 
libegl-nvidia0 libegl1-glvnd-nvidia libegl1-mesa
   libepoxy0 libfontenc1 libgbm1 libgl1-glvnd-nvidia-glx libgl1-mesa-dri 
libgl1-mesa-glx libgl1-nvidia-glvnd-glx libglapi-mesa 
libgldispatch0-nvidia libgles-nvidia1 libgles-nvidia2
   libgles1-glvnd-nvidia libgles2-glvnd-nvidia libglx-nvidia0 
libglx0-glvnd-nvidia libjansson4 libllvm3.8 libnvidia-cfg1 
libnvidia-eglcore libnvidia-glcore libnvidia-ml1
   libopengl0-glvnd-nvidia libpciaccess0 libtxc-dxtn-s2tc0 libvdpau1 
libvulkan1 libwayland-client0 libwayland-server0 libxaw7 libxcb-dri2-0 
libxcb-dri3-0 libxcb-glx0 libxcb-present0
   libxcb-shape0 libxcb-sync1 libxcb-xfixes0 libxfont1 libxkbfile1 
libxmu6 libxnvctrl0 libxshmfence1 libxt6 libxxf86vm1 
linux-headers-4.9.0-0.bpo.1-amd64 linux-headers-4.9.0-0.bpo.1-common
   linux-headers-amd64 linux-kbuild-4.9 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-persistenced nvidia-settings nvidia-support 
nvidia-vdpau-driver nvidia-vulkan-common nvidia-vulkan-icd
   update-glx x11-xkb-utils xfonts-base xfonts-encodings xfonts-utils 
xserver-common xserver-xorg-core xserver-xorg-video-nvidia
Suggested packages:
   python3-apport menu vulkan-utils xfs xserver xfonts-100dpi 
xfonts-75dpi xfonts-scalable
Recommended packages:
   nvidia-driver-libs-i386
The following NEW packages will be installed:
   dkms glx-alternative-mesa glx-alternative-nvidia glx-diversions 
libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 
libegl-nvidia0 libegl1-glvnd-nvidia libegl1-mesa libepoxy0
   libfontenc1 libgbm1 libgl1-glvnd-nvidia-glx libgl1-mesa-dri 
libgl1-mesa-glx libgl1-nvidia-glvnd-glx libglapi-mesa 
libgldispatch0-nvidia libgles-nvidia1 libgles-nvidia2
   libgles1-glvnd-nvidia libgles2-glvnd-nvidia libglx-nvidia0 
libglx0-glvnd-nvidia libjansson4 libllvm3.8 libnvidia-cfg1 
libnvidia-eglcore libnvidia-glcore libnvidia-ml1
   libopengl0-glvnd-nvidia libpciaccess0 libtxc-dxtn-s2tc0 libvdpau1 
libvulkan1 libwayland-client0 libwayland-server0 libxaw7 libxcb-dri2-0 
libxcb-dri3-0 libxcb-glx0 libxcb-present0
   libxcb-shape0 libxcb-sync1 libxcb-xfixes0 libxfont1 libxkbfile1 
libxmu6 libxnvctrl0 libxshmfence1 libxt6 libxxf86vm1 
linux-headers-4.9.0-0.bpo.1-amd64 linux-headers-4.9.0-0.bpo.1-common
   linux-headers-amd64 linux-kbuild-4.9 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-persistenced nvidia-settings nvidia-support 
nvidia-vdpau-driver nvidia-vulkan-common nvidia-vulkan-icd
   update-glx x11-xkb-utils xfonts-base xfonts-encodings xfonts-utils 
xserver-common xserver-xorg-core xserver-xorg-video-nvidia
The following packages will be upgraded:
   libdrm2
1 upgraded, 84 newly installed, 0 to remove and 104 not upgraded.
Need to get 67.5 MB of archives.
After this operation, 256 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C

# apt-get install nvidia-driver/jessie-backports
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '375.26-1~bpo8+1' (Debian Backports:jessie-backports 
[amd64]) for 'nvidia-driver'
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 (= 375.26-1~bpo8+1) but it 
is not going to be installed
                  Depends: nvidia-driver-bin (= 375.26-1~bpo8+1) but it 
is not going to be installed
                  Depends: xserver-xorg-video-nvidia (= 375.26-1~bpo8+1) 
but it is not going to be installed
                  Depends: nvidia-vdpau-driver (= 375.26-1~bpo8+1) but 
it is not going to be installed
                  Depends: nvidia-alternative (= 375.26-1~bpo8+1) but it 
is not going to be installed
                  Depends: nvidia-kernel-dkms (= 375.26-1~bpo8+1) but it 
is not going to be installed or
                           nvidia-kernel-375.26
                  Recommends: nvidia-settings (>= 375) but it is not 
going to be installed
                  Recommends: nvidia-persistenced but it is not going to 
be installed
E: Unable to correct problems, you have held broken packages.

As you can see the second commands fails as a result of unsolved 
dependencies. The previous version of the 'nvidia-driver' package 
'367.57-2~bpo8+1' could be installed using both methods.

Some info about my system:
$ uname -o -m -r -v
3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64 GNU/Linux



More information about the pkg-nvidia-devel mailing list