Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[SUA 252-1] Updated nVidia driver packages

1 view
Skip to first unread message

Bret Beatty

unread,
Feb 16, 2024, 9:10:04 PM2/16/24
to
Hello and thank you for all the work that goes into Debian.

I had the nvidia driver issue with 12.5. I have debian-updates in my
sources.list

───────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /etc/apt/sources.list
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ #deb cdrom:[Debian GNU/Linux 12.4.0 _Bookworm_ - Official
amd64 NETINST with firmware 20231210-17:56]/ bookworm main non-free-firmware
   2   │
   3   │ deb http://deb.debian.org/debian/ bookworm main contrib
non-free non-free-firmware
   4   │ deb-src http://deb.debian.org/debian/ bookworm main
non-free-firmware
   5   │
   6   │ deb http://security.debian.org/debian-security
bookworm-security main non-free-firmware
   7   │ deb-src http://security.debian.org/debian-security
bookworm-security main non-free-firmware
   8   │
   9   │ # bookworm-updates, to get updates before a point release is made;
  10   │ # see
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
  11   │ deb http://deb.debian.org/debian/ bookworm-updates main
non-free-firmware
  12   │ deb-src http://deb.debian.org/debian/ bookworm-updates main
non-free-firmware
  13   │
  14   │ # This system was installed using small removable media
  15   │ # (e.g. netinst, live or single CD). The matching "deb cdrom"
  16   │ # entries were disabled at the end of the installation process.
  17   │ # For information about how to configure apt package sources,
  18   │ # see the sources.list(5) manual.

But when running the update/upgrade I still get the following error.

sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-6.1.0-18-amd64 (6.1.76-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-18-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j12 modules
KERNEL_UNAME=6.1.0-18-amd64...............(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more
information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.1.0-18-amd64 (--configure):
 installed linux-image-6.1.0-18-amd64 package post-installation script
subprocess returned error exit status 1
Setting up linux-headers-6.1.0-18-amd64 (6.1.76-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-18-amd64.
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
env NV_VERBOSE=1 make -j12 modules
KERNEL_UNAME=6.1.0-18-amd64................(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/525.147.05/build/make.log for more
information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.1.0-18-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at
/var/lib/dpkg/info/linux-headers-6.1.0-18-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.1.0-18-amd64 (--configure):
 installed linux-headers-6.1.0-18-amd64 package post-installation
script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-18-amd64 (= 6.1.76-1);
however:
  Package linux-image-6.1.0-18-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.1.0-18-amd64 (=
6.1.76-1); however:
  Package linux-headers-6.1.0-18-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.1.0-18-amd64
 linux-headers-6.1.0-18-amd64
 linux-image-amd64
 linux-headers-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm not sure what else I need to do but I would love any guidance.

Jonathan Wiltshire

unread,
Feb 17, 2024, 7:20:04 AM2/17/24
to
Is there a reason you don't have contrib and non-free enabled for most of
those sources?

--
Jonathan Wiltshire j...@debian.org
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC 74C3 5394 479D D352 4C51
ed25519/0x196418AAEB74C8A1: CA619D65A72A7BADFC96D280196418AAEB74C8A1

Jonathan Wiltshire

unread,
Feb 17, 2024, 7:30:04 AM2/17/24
to
On Sat, Feb 17, 2024 at 06:12:24AM -0600, Bret Beatty wrote:
> Ignorance I suppose.
>
> Should I?

Since the updated packages are in the the contrib and non-free components,
and you want to receive them, yes.

Bret Beatty

unread,
Feb 17, 2024, 8:10:04 AM2/17/24
to
Ah, I must have read the instructions incorrectly. I thought it said I needed the Debian-updates source. 

Thank you,

Stephen Kitt

unread,
Feb 20, 2024, 4:50:05 AM2/20/24
to
On Fri, Feb 16, 2024 at 12:11:17PM +0000, Jonathan Wiltshire wrote:
> Is there a reason you don't have contrib and non-free enabled for most of
> those sources?

Perhaps the problem is that SUA 252-1 only mentions main:

> Upgrade Instructions
> --------------------
>
> You can get the updated packages by adding the stable-updates archive
> for your distribution to your /etc/apt/sources.list:
>
> deb https://deb.debian.org/debian bookworm-updates main
> deb-src https://deb.debian.org/debian bookworm-updates main
>
> You can also use any of the Debian archive mirrors. See
> https://www.debian.org/mirrors/list for the full list of mirrors.

Anyone following the publishing instructions as-is won’t get the update.

On top of that, non-free doesn’t matter, nvidia-graphics-drivers is in
non-free-firmware.

Regards,

Stephen
0 new messages