seduction
 Language:
Welcome, Guest. Please login or register.
Did you miss your activation email?
2019/12/08, 09:37:04


Help

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Unable to install nvidia-drivers due to dkms errors  (Read 576 times)

0 Members and 1 Guest are viewing this topic.

Offline AlanDouble22

  • User
  • Posts: 9
Hi,
I'm trying to install nvidia-drivers for my system but everytime i attempt to do so i get some errors.
Here's what i get.



Setting up nvidia-kernel-dkms (418.74-1) ...
Loading new nvidia-current-418.74 DKMS files...
Building for 5.2.8-towo.3-siduction-amd64
Building initial module for 5.2.8-towo.3-siduction-amd64
Error! Bad return status for module build on kernel: 5.2.8-towo.3-siduction-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/418.74/build/make.log for more information.
dpkg: error processing package nvidia-kernel-dkms (--configure):
 installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 418.74-1) | nvidia-kernel-418.74; however:
  Package nvidia-kernel-dkms is not configured yet.
  Package nvidia-kernel-418.74 is not installed.
  Package nvidia-kernel-dkms which provides nvidia-kernel-418.74 is not configured yet.


dpkg: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for initramfs-tools (0.134) ...
update-initramfs: Generating /boot/initrd.img-5.2.8-towo.3-siduction-amd64
I: The initramfs will attempt to resume from /dev/sda2
I: (UUID=c9268b0b-daa5-48e6-935c-b323b6da9728)
I: Set the RESUME variable to override this.
Processing triggers for update-glx (1.0.0) ...
Processing triggers for glx-alternative-nvidia (1.0.0) ...
update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx (glx) in auto mode
Processing triggers for glx-alternative-mesa (1.0.0) ...
Processing triggers for systemd (241-7) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for initramfs-tools (0.134) ...
update-initramfs: Generating /boot/initrd.img-5.2.8-towo.3-siduction-amd64
I: The initramfs will attempt to resume from /dev/sda2
I: (UUID=c9268b0b-daa5-48e6-935c-b323b6da9728)
I: Set the RESUME variable to override this.
Errors were encountered while processing:
 nvidia-kernel-dkms
 nvidia-driver


What can i do to resolve this?

Offline towo

  • Global Moderator
  • User
  • *****
  • Posts: 2.308
Re: Unable to install nvidia-drivers due to dkms errors
« Reply #1 on: 2019/08/12, 23:33:29 »
Quote
What can i do to resolve this?

Use nvidia-driver from experimental.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline AlanDouble22

  • User
  • Posts: 9
Re: Unable to install nvidia-drivers due to dkms errors
« Reply #2 on: 2019/08/13, 00:02:19 »
what are the links for the experimental repos?

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 1.931
    • Land of the Buckeye
Re: Unable to install nvidia-drivers due to dkms errors
« Reply #3 on: 2019/08/13, 01:15:50 »
Make this your /etc/apt/sources.list.d/debian.list:

Code: [Select]
# debian loadbalancer
deb     http://httpredir.debian.org/debian/ unstable main contrib non-free
# deb-src http://httpredir.debian.org/debian/ unstable main contrib non-free

# deb     http://deb.debian.org/debian/ experimental main contrib non-free
# deb-src http://deb.debian.org/debian/ experimental main contrib non-free


# deb     http://deb.debian.org/debian/ testing main contrib non-free
# deb-src http://deb.debian.org/debian/ testing main contrib non-free

When you want to install the nvidia driver from experimental repo, open /etc/apt/sources.list.d/debian.list for editing.  Remove the "#" from the beginning of the line

Code: [Select]
# deb     http://deb.debian.org/debian/ experimental main contrib non-free
and save the file.

Next, in terminal

Code: [Select]
apt update

apt-install -t experimental nvidia-driver

(let the installation complete)

later, you can open /etc/apt/sources.list.d and put the "#" back in front of the experimental repo line.
Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO, 2@WD1003FZEX in BTRFS

Offline AlanDouble22

  • User
  • Posts: 9
Re: Unable to install nvidia-drivers due to dkms errors
« Reply #4 on: 2019/08/14, 02:14:43 »
It Worked! Thanks. :)