install of nvidia on debian strech hangs, need help
ROBERT CARY WELSH <[email protected]>
| Newsgroups | gmane.linux.debian.devel.www |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I’ve stretch (9.1) on a system with a K80 and wanting to get nvidia driver installed.
Following
https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_9_.22Stretch.22
I first tried the version 390.48, but that failed with:
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 : PreDepends: nvidia-installer-cleanup but it is not installable
PreDepends: nvidia-legacy-check (>= 343) but it is not going to be installed
Depends: nvidia-driver-libs (= 390.67-2~bpo9+1) but it is not going to be installed or
nvidia-driver-libs-nonglvnd (= 390.67-2~bpo9+1) but it is not going to be installed
Depends: nvidia-driver-bin (= 390.67-2~bpo9+1) but it is not going to be installed
Depends: xserver-xorg-video-nvidia (= 390.67-2~bpo9+1) but it is not going to be installed
Depends: nvidia-vdpau-driver (= 390.67-2~bpo9+1) but it is not going to be installed
Depends: nvidia-alternative (= 390.67-2~bpo9+1) but it is not going to be installed
Depends: nvidia-kernel-dkms (= 390.67-2~bpo9+1) but it is not going to be installed or
nvidia-kernel-390.67
Depends: nvidia-support but it is not installable
Recommends: nvidia-settings (>= 390) 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.
So I changed over to try 375.66, and that goes further, but hangs after I answer this prompt at the bottom, been sitting there for over an hour doing nothing…
sudo apt-get install linux-headers-$(uname -r|sed 's/[^-]*-[^-]*-//') nvidia-driver
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-amd64 is already the newest version (4.9+80+deb9u4).
The following additional packages will be installed:
glx-alternative-nvidia glx-diversions libegl-nvidia0 libegl1-glvnd-nvidia libgl1-glvnd-nvidia-glx libgl1-nvidia-glvnd-glx
libgldispatch0-nvidia libgles-nvidia1 libgles-nvidia2 libgles1-glvnd-nvidia libgles2-glvnd-nvidia libglx-nvidia0
libglx0-glvnd-nvidia libjansson4 libnvidia-cfg1 libnvidia-eglcore libnvidia-glcore libnvidia-ml1 libopengl0-glvnd-nvidia
libvulkan1 libxnvctrl0 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
xserver-xorg-video-nvidia
Suggested packages:
vulkan-utils
Recommended packages:
nvidia-driver-libs-i386
The following NEW packages will be installed:
glx-alternative-nvidia glx-diversions libegl-nvidia0 libegl1-glvnd-nvidia libgl1-glvnd-nvidia-glx libgl1-nvidia-glvnd-glx
libgldispatch0-nvidia libgles-nvidia1 libgles-nvidia2 libgles1-glvnd-nvidia libgles2-glvnd-nvidia libglx-nvidia0
libglx0-glvnd-nvidia libjansson4 libnvidia-cfg1 libnvidia-eglcore libnvidia-glcore libnvidia-ml1 libopengl0-glvnd-nvidia
libvulkan1 libxnvctrl0 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
xserver-xorg-video-nvidia
0 upgraded, 40 newly installed, 0 to remove and 263 not upgraded.
Need to get 0 B/30.3 MB of archives.
After this operation, 121 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package nvidia-installer-cleanup.
(Reading database ... 274435 files and directories currently installed.)
Preparing to unpack .../nvidia-installer-cleanup_20151021+4_amd64.deb ...
Unpacking nvidia-installer-cleanup (20151021+4) ...
Setting up nvidia-installer-cleanup (20151021+4) ...
WARNING: The '--no-runlevel-check' option is deprecated: nvidia-installer will ignore this option.
Welcome to the NVIDIA Software Installer for Unix/Linux
Detected 32 CPUs online; setting concurrency level to 32.
If you plan to no longer use the NVIDIA driver, you should make sure that no X screens are configured to use the NVIDIA X driver
in your X configuration file. If you used nvidia-xconfig to configure X, it may have created a backup of your original
configuration. Would you like to run `nvidia-xconfig --restore-original-backup` to attempt restoration of the original X
configuration file?
[default: (N)o]: N
Could use some help.
Thanks!
Robert Welsh