Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Problem install nvidia driver

Started by Led, February 24, 2023, 08:50:17 AM

Previous topic - Next topic

Led

 Hi!
Today an update of nvidia driver but it fails, the following message is shown:

Error: Installation has failed.
If you'd like to file a bug report please include '/var/log/nala/dpkg-debug.log'

Error: nvidia-kernel-dkms: dependency problems, but removing anyway as you requested:
 nvidia-driver depends on nvidia-kernel-dkms (= 525.85.12-1) | nvidia-kernel-525.85.12 | nvidia-open-kernel-525.85.12 | nvidia-open-kernel-525.85.12; however:
  Package nvidia-kernel-dkms is to be removed.
  Package nvidia-kernel-525.85.12 is not installed.
  Package nvidia-open-kernel-525.85.12 is not installed.
  Package nvidia-open-kernel-525.85.12 is not installed.

Error: dependency problems prevent configuration of nvidia-driver:

Error: dependency problems prevent configuration of nvidia-driver:
 nvidia-driver depends on nvidia-kernel-dkms (= 525.85.12-1) | nvidia-kernel-525.85.12 | nvidia-open-kernel-525.85.12 | nvidia-open-kernel-525.85.12; however:
 nvidia-driver depends on nvidia-kernel-dkms (= 525.85.12-1) | nvidia-kernel-525.85.12 | nvidia-open-kernel-525.85.12 | nvidia-open-kernel-525.85.12; however:
  Package nvidia-kernel-dkms is not installed.
  Package nvidia-kernel-dkms is not installed.
  Package nvidia-kernel-525.85.12 is not installed.
  Package nvidia-kernel-525.85.12 is not installed.
  Package nvidia-open-kernel-525.85.12 is not installed.
  Package nvidia-open-kernel-525.85.12 is not installed.
  Package nvidia-open-kernel-525.85.12 is not installed.
  Package nvidia-open-kernel-525.85.12 is not installed.

Error: error processing package nvidia-driver (--configure):

Error: error processing package nvidia-driver (--configure):
 dependency problems - leaving unconfigured
 dependency problems - leaving unconfigured
Setting up libnvidia-rtcore:amd64 (525.85.12-1) ...
Setting up libnvidia-rtcore:amd64 (525.85.12-1) ...

Errors were encountered while processing:
 nvidia-driver


I used Timeshift to roll back.

Please help me with this if you can.

21grams

#1
Hi Led.
Looks like non-free firmware has moved to its archive as per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030981#10

More explanation here for the future : https://www.debian.org/releases/bookworm/amd64/release-notes/ch-whats-new.en.html#archive-areas

Add non-free-firmware to sources.list, sudo apt update, and check for the changelog to make sure nvidia-kernel-dkms is not being held

Something like :
deb https://deb.debian.org/debian bookworm main contrib non-free
deb-src https://deb.debian.org/debian bookworm main contrib non-free

to :
deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
21grams >> light in flight

View the most recent posts on the forum