Bug#1066080: nvidia-driver (525.147.05-10) does not build against kernel 6.6.15-amd64 on Debian Sid

JON Tauri jackoneilloftauri at gmail.com
Tue Mar 12 14:35:34 GMT 2024


Replying to myself. Your statement about the ongoing 64 bit time_t
transition got me thinking. What if I have a problem there? So, I tried
installing the libelf t64 bit again:



$ sudo aptitude -f install libelf1t64
The following NEW packages will be installed:
 libelf1t64
The following packages will be REMOVED:
 libelf1{a} libgphoto2-l10n{u}
The following partially installed packages will be configured:
 nvidia-driver nvidia-kernel-dkms
0 packages upgraded, 1 newly installed, 2 to remove and 267 not upgraded.
Need to get 176 kB of archives. After unpacking 2,769 kB will be freed.
The following packages have unmet dependencies:
libdebuginfod1 : Depends: libelf1 (= 0.190-1+b1) but it is not going to be
installed
libdw1 : Depends: libelf1 (= 0.190-1+b1) but it is not going to be
installed
The following actions will resolve these dependencies:

    Keep the following packages at their current version:
1)     libelf1 [0.190-1+b1 (now, unstable)]
2)     libelf1t64 [Not Installed]



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

    Remove the following packages:
1)     libcurl3-gnutls [8.6.0-3 (now, unstable)]
2)     libdebuginfod1 [0.190-1+b1 (now, unstable)]
3)     libdw1 [0.190-1+b1 (now, unstable)]
4)     libnettle8 [3.9.1-2+b1 (now, unstable)]

    Install the following packages:
5)     libcurl3t64-gnutls [8.6.0-3.2 (unstable)]
6)     libdebuginfod1t64 [0.190-1.1+b1 (unstable)]
7)     libdw1t64 [0.190-1.1+b1 (unstable)]
8)     libnettle8t64 [3.9.1-2.2 (unstable)]

Rather neat, isn't it? Each library being replaced with the presumably
updated version. So, I said yes on a hunch.

Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
 libcurl3t64-gnutls{a} libdebuginfod1t64{a} libdw1t64{a} libelf1t64
libnettle8t64{a}
The following packages will be REMOVED:
 libcurl3-gnutls{a} libdebuginfod1{a} libdw1{a} libelf1{a}
libgphoto2-l10n{u} libnettle8{a}
The following partially installed packages will be configured:
 nvidia-driver nvidia-kernel-dkms
0 packages upgraded, 5 newly installed, 6 to remove and 267 not upgraded.
Need to get 1,165 kB of archives. After unpacking 2,767 kB will be freed.
Do you want to continue? [Y/n/?] y
Get: 1 http://deb.debian.org/debian sid/main amd64 libnettle8t64 amd64
3.9.1-2.2 [296 kB]
Get: 2 http://deb.debian.org/debian sid/main amd64 libcurl3t64-gnutls amd64
8.6.0-3.2 [421 kB]
Get: 3 http://deb.debian.org/debian sid/main amd64 libdw1t64 amd64
0.190-1.1+b1 [243 kB]
Get: 4 http://deb.debian.org/debian sid/main amd64 libelf1t64 amd64
0.190-1.1+b1 [176 kB]
Get: 5 http://deb.debian.org/debian sid/main amd64 libdebuginfod1t64 amd64
0.190-1.1+b1 [28.4 kB]
Fetched 1,165 kB in 1s (963 kB/s)
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
dpkg: libnettle8:amd64: dependency problems, but removing anyway as you
requested:
wget depends on libnettle8.
qemu-utils depends on libnettle8.
libsrt1.5-gnutls:amd64 depends on libnettle8.
librtmp1:amd64 depends on libnettle8.
libhogweed6:amd64 depends on libnettle8.
libgnutls30t64:amd64 depends on libnettle8 (>= 3.9~).
libcurl3-gnutls:amd64 depends on libnettle8.
libarchive13:amd64 depends on libnettle8.
gstreamer1.0-plugins-bad:amd64 depends on libnettle8 (>= 3).
dnsmasq-base depends on libnettle8 (>= 2.4-3).

(Reading database ... 415473 files and directories currently installed.)
Removing libnettle8:amd64 (3.9.1-2+b1) ...
Selecting previously unselected package libnettle8t64:amd64.
(Reading database ... 415465 files and directories currently installed.)
Preparing to unpack .../libnettle8t64_3.9.1-2.2_amd64.deb ...
Unpacking libnettle8t64:amd64 (3.9.1-2.2) ...
Setting up libnettle8t64:amd64 (3.9.1-2.2) ...
dpkg: libcurl3-gnutls:amd64: dependency problems, but removing anyway as
you requested:
qemu-block-extra depends on libcurl3-gnutls (>= 7.16.3).
python3-pycurl depends on libcurl3-gnutls (>= 8.6.0).
octave depends on libcurl3-gnutls (>= 7.16.2).
network-manager depends on libcurl3-gnutls (>= 7.24.0).
libxerces-c3.2:amd64 depends on libcurl3-gnutls (>= 7.16.2).
libvirt0:amd64 depends on libcurl3-gnutls (>= 7.28.0).
libsane1:amd64 depends on libcurl3-gnutls (>= 7.16.2).
libraptor2-0:amd64 depends on libcurl3-gnutls (>= 7.16.2).
libqalculate22:amd64 depends on libcurl3-gnutls (>= 7.16.2).
libproxy1v5:amd64 depends on libcurl3-gnutls (>= 7.16.2).
libkolabxml1v5:amd64 depends on libcurl3-gnutls (>= 7.16.2).
libdebuginfod1:amd64 depends on libcurl3-gnutls (>= 7.28.0).
libappstream5:amd64 depends on libcurl3-gnutls (>= 7.63.0).
gstreamer1.0-plugins-bad:amd64 depends on libcurl3-gnutls (>= 7.55.0).
git depends on libcurl3-gnutls (>= 7.56.1).

(Reading database ... 415473 files and directories currently installed.)
Removing libcurl3-gnutls:amd64 (8.6.0-3) ...
Selecting previously unselected package libcurl3t64-gnutls:amd64.
(Reading database ... 415466 files and directories currently installed.)
Preparing to unpack .../libcurl3t64-gnutls_8.6.0-3.2_amd64.deb ...
Unpacking libcurl3t64-gnutls:amd64 (8.6.0-3.2) ...
dpkg: libdw1:amd64: dependency problems, but removing anyway as you
requested:
libgstreamer1.0-0:amd64 depends on libdw1 (>= 0.126).
libdebuginfod1:amd64 depends on libdw1 (= 0.190-1+b1).
libbabeltrace1:amd64 depends on libdw1 (>= 0.126).
bluez depends on libdw1 (>= 0.127).

(Reading database ... 415473 files and directories currently installed.)
Removing libdw1:amd64 (0.190-1+b1) ...
Selecting previously unselected package libdw1t64:amd64.
(Reading database ... 415467 files and directories currently installed.)
Preparing to unpack .../libdw1t64_0.190-1.1+b1_amd64.deb ...
Unpacking libdw1t64:amd64 (0.190-1.1+b1) ...
dpkg: libelf1:amd64: dependency problems, but removing anyway as you
requested:
mesa-vulkan-drivers:amd64 depends on libelf1 (>= 0.142).
mesa-vdpau-drivers:amd64 depends on libelf1 (>= 0.142).
mesa-va-drivers:amd64 depends on libelf1 (>= 0.142).
linux-kbuild-6.6.15 depends on libelf1 (>= 0.142).
linux-kbuild-6.6.13 depends on libelf1 (>= 0.142).
libgl1-mesa-dri:amd64 depends on libelf1 (>= 0.142).
libdebuginfod1:amd64 depends on libelf1 (= 0.190-1+b1).
libbpf1:amd64 depends on libelf1 (>= 0.144).
libbabeltrace1:amd64 depends on libelf1 (>= 0.131).
iproute2 depends on libelf1 (>= 0.131).
dwz depends on libelf1 (>= 0.131).

(Reading database ... 415473 files and directories currently installed.)
Removing libelf1:amd64 (0.190-1+b1) ...
Selecting previously unselected package libelf1t64:amd64.
(Reading database ... 415469 files and directories currently installed.)
Preparing to unpack .../libelf1t64_0.190-1.1+b1_amd64.deb ...
Unpacking libelf1t64:amd64 (0.190-1.1+b1) ...
dpkg: libdebuginfod1:amd64: dependency problems, but removing anyway as you
requested:
gdb depends on libdebuginfod1 (>= 0.180).

(Reading database ... 415482 files and directories currently installed.)
Removing libdebuginfod1:amd64 (0.190-1+b1) ...
Selecting previously unselected package libdebuginfod1t64:amd64.
(Reading database ... 415476 files and directories currently installed.)
Preparing to unpack .../libdebuginfod1t64_0.190-1.1+b1_amd64.deb ...
Unpacking libdebuginfod1t64:amd64 (0.190-1.1+b1) ...
(Reading database ... 415482 files and directories currently installed.)
Removing libgphoto2-l10n (2.5.31-2.1) ...
Setting up libcurl3t64-gnutls:amd64 (8.6.0-3.2) ...
Setting up libelf1t64:amd64 (0.190-1.1+b1) ...
Setting up libdw1t64:amd64 (0.190-1.1+b1) ...
Setting up nvidia-kernel-dkms (525.147.05-10) ...
Removing old nvidia-current-525.147.05 DKMS files...
Deleting module nvidia-current-525.147.05 completely from the DKMS tree.
Loading new nvidia-current-525.147.05 DKMS files...
Building for 6.6.15-amd64
Building initial module for 6.6.15-amd64
Done.

nvidia-current.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.6.15-amd64/updates/dkms/

nvidia-current-modeset.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.6.15-amd64/updates/dkms/

nvidia-current-drm.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.6.15-amd64/updates/dkms/

nvidia-current-uvm.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.6.15-amd64/updates/dkms/

nvidia-current-peermem.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.6.15-amd64/updates/dkms/
depmod....
Setting up nvidia-driver (525.147.05-10) ...
Setting up libdebuginfod1t64:amd64 (0.190-1.1+b1) ...
Processing triggers for libc-bin (2.37-15.1) ...

That worked (pending a reboot, and reblacklisting of the nouveau driver of
course)!

As a bonus, this also fixed the kernel 6.7.7 problem:

$ sudo apt-get install linux-headers-6.7.7-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
 linux-headers-6.7.7-common linux-image-6.7.7-amd64-unsigned
linux-kbuild-6.7.7
Suggested packages:
 linux-doc-6.7 debian-kernel-handbook
The following NEW packages will be installed:
 linux-headers-6.7.7-amd64 linux-headers-6.7.7-common
linux-image-6.7.7-amd64-unsigned linux-kbuild-6.7.7
0 upgraded, 4 newly installed, 0 to remove and 267 not upgraded.
Need to get 99.8 MB/113 MB of archives.
After this operation, 171 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian sid/main amd64
linux-image-6.7.7-amd64-unsigned amd64 6.7.7-1 [99.8 MB]
Fetched 99.8 MB in 9s (10.7 MB/s)

Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package linux-headers-6.7.7-common.
(Reading database ... 415463 files and directories currently installed.)
Preparing to unpack .../linux-headers-6.7.7-common_6.7.7-1_all.deb ...
Unpacking linux-headers-6.7.7-common (6.7.7-1) ...
Selecting previously unselected package linux-image-6.7.7-amd64-unsigned.
Preparing to unpack .../linux-image-6.7.7-amd64-unsigned_6.7.7-1_amd64.deb
...
Unpacking linux-image-6.7.7-amd64-unsigned (6.7.7-1) ...
Selecting previously unselected package linux-kbuild-6.7.7.
Preparing to unpack .../linux-kbuild-6.7.7_6.7.7-1_amd64.deb ...
Unpacking linux-kbuild-6.7.7 (6.7.7-1) ...
Selecting previously unselected package linux-headers-6.7.7-amd64.
Preparing to unpack .../linux-headers-6.7.7-amd64_6.7.7-1_amd64.deb ...
Unpacking linux-headers-6.7.7-amd64 (6.7.7-1) ...
Setting up linux-kbuild-6.7.7 (6.7.7-1) ...
Setting up linux-image-6.7.7-amd64-unsigned (6.7.7-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.6.15-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-6.6.15-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-6.7.7-amd64
I: /initrd.img is now a symlink to boot/initrd.img-6.7.7-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.7.7-amd64.
Sign command: /lib/modules/6.7.7-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s).....................
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia.ko
Signing module
/var/lib/dkms/nvidia-current/525.147.05/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.ko
Signing module
/var/lib/dkms/nvidia-current/525.147.05/build/nvidia-peermem.ko
Cleaning build area...

nvidia-current.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.7.7-amd64/updates/dkms/

nvidia-current-modeset.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.7.7-amd64/updates/dkms/

nvidia-current-drm.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.7.7-amd64/updates/dkms/

nvidia-current-uvm.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.7.7-amd64/updates/dkms/

nvidia-current-peermem.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.7.7-amd64/updates/dkms/
depmod....
dkms autoinstall on 6.7.7-amd64/x86_64 succeeded for nvidia-current
dkms: autoinstall for kernel: 6.7.7-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.7.7-amd64
W: Possible missing firmware
/lib/firmware/nvidia/ad107/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad107/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad107/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad107/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad106/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad106/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad106/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad106/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad104/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad104/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad104/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad104/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad103/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad103/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad103/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad103/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad102/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad102/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad102/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ad102/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga107/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga107/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga107/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga107/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga106/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga106/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga106/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga106/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga104/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga104/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga104/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga104/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga103/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga103/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga103/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga103/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga102/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga102/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga102/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga102/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga100/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga100/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga100/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/ga100/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu117/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu117/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu117/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu117/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu116/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu116/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu116/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu116/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu106/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu106/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu106/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu106/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu104/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu104/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu104/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu104/gsp/booter_load-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu102/gsp/gsp-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu102/gsp/bootloader-535.113.01.bin for module nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu102/gsp/booter_unload-535.113.01.bin for module
nouveau
W: Possible missing firmware
/lib/firmware/nvidia/tu102/gsp/booter_load-535.113.01.bin for module
nouveau
I: The initramfs will attempt to resume from /dev/dm-4
I: (/dev/mapper/UncachedUserLogicalVolumes-lv_swap)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.7.7-amd64
Found initrd image: /boot/initrd.img-6.7.7-amd64
Found linux image: /boot/vmlinuz-6.6.15-amd64
Found initrd image: /boot/initrd.img-6.6.15-amd64
Found linux image: /boot/vmlinuz-6.6.13-amd64
Found initrd image: /boot/initrd.img-6.6.13-amd64
Warning: os-prober will not be executed to detect other bootable
partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up linux-headers-6.7.7-common (6.7.7-1) ...
Setting up linux-headers-6.7.7-amd64 (6.7.7-1) ...
/etc/kernel/header_postinst.d/dkms:
Module nvidia-current-525.147.05 for kernel 6.7.7-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

nvidia-current.ko.xz:
- Uninstallation
  - Deleting from: /lib/modules/6.7.7-amd64/updates/dkms/
- Original module
  - No original module was found for this module on this kernel.
  - Use the dkms install command to reinstall any previous module version.

nvidia-current-modeset.ko.xz:
- Uninstallation
  - Deleting from: /lib/modules/6.7.7-amd64/updates/dkms/
- Original module
  - No original module was found for this module on this kernel.
  - Use the dkms install command to reinstall any previous module version.

nvidia-current-drm.ko.xz:
- Uninstallation
  - Deleting from: /lib/modules/6.7.7-amd64/updates/dkms/
- Original module
  - No original module was found for this module on this kernel.
  - Use the dkms install command to reinstall any previous module version.

nvidia-current-uvm.ko.xz:
- Uninstallation
  - Deleting from: /lib/modules/6.7.7-amd64/updates/dkms/
- Original module
  - No original module was found for this module on this kernel.
  - Use the dkms install command to reinstall any previous module version.

nvidia-current-peermem.ko.xz:
- Uninstallation
  - Deleting from: /lib/modules/6.7.7-amd64/updates/dkms/
- Original module
  - No original module was found for this module on this kernel.
  - Use the dkms install command to reinstall any previous module version.
depmod....
dkms: running auto installation service for kernel 6.7.7-amd64.
Sign command: /lib/modules/6.7.7-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s).....................
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia.ko
Signing module
/var/lib/dkms/nvidia-current/525.147.05/build/nvidia-modeset.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-drm.ko
Signing module /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.ko
Signing module
/var/lib/dkms/nvidia-current/525.147.05/build/nvidia-peermem.ko
Cleaning build area...

nvidia-current.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.7.7-amd64/updates/dkms/

nvidia-current-modeset.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.7.7-amd64/updates/dkms/

nvidia-current-drm.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.7.7-amd64/updates/dkms/

nvidia-current-uvm.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.7.7-amd64/updates/dkms/

nvidia-current-peermem.ko.xz:
Running module version sanity check.
- Original module
  - No original module exists within this kernel
- Installation
  - Installing to /lib/modules/6.7.7-amd64/updates/dkms/
depmod.....
dkms autoinstall on 6.7.7-amd64/x86_64 succeeded for nvidia-current
dkms: autoinstall for kernel: 6.7.7-amd64.


On Tue, Mar 12, 2024 at 7:45 PM JON Tauri <jackoneilloftauri at gmail.com>
wrote:

> Thanks.
>
> I have run updates multiple times a day for the past week hoping what you
> are suggesting would transpire, but things are not getting fixed through a
> simple update.
>
> Here is the information requested:
>
> $ dpkg -l libelf1 libelf1t64
> dpkg-query: no packages found matching libelf1t64
> Desired=Unknown/Install/Remove/Purge/Hold
> |
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name           Version      Architecture Description
> +++-==============-============-============-===================================
>
> ri  libelf1:amd64  0.190-1+b1   amd64        library to read and write ELF
> files
>
> An attempt to install the 64 bit version of the library fails:
>
> $ sudo apt-get install libelf1t64
> Reading package lists... Done
> Building dependency tree... Done
> 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:
> plasma-workspace : Depends: gdb-minimal but it is not going to be
> installed or
>                             gdb
>                    Recommends: qml-module-org-kde-pipewire but it is not
> going to be installed
> E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused
> by held packages.
>
> Incidentally, I get the same error when I try to install the kernel
> headers for kernel 6.7.7-amd64 (so I am not upgrading the kernel either). I
> was trying that as a possible solution hoping that the newer kernel may
> have fixed any problems of compatibility between nvidia-kernel and
> linux-headers. No joy:
>
> $ sudo apt-get install linux-headers-6.7.7-amd64
> Reading package lists... Done
> Building dependency tree... Done
> 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:
> plasma-workspace : Depends: gdb-minimal but it is not going to be
> installed or
>                             gdb
>                    Recommends: qml-module-org-kde-pipewire but it is not
> going to be installed
> E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused
> by held packages.
>
> The above error has also been persistent for the past 4-5 days.
>
> Use of aptitude -f install for installation of kernel headers suggests
> that I uninstall libelf:
>
> The following actions will resolve these dependencies:
>
>     Keep the following packages at their current version:
> 1)     linux-headers-6.7.7-amd64 [Not Installed]
>
>
> Accept this solution? [Y/n/q/?] n
> The following actions will resolve these dependencies:
>
>      Remove the following packages:
> 1)      libcurl3-gnutls [8.6.0-3 (now, unstable)]
> 2)      libdebuginfod1 [0.190-1+b1 (now, unstable)]
> 3)      libdw1 [0.190-1+b1 (now, unstable)]
> 4)      libelf1 [0.190-1+b1 (now, unstable)]
> 5)      libnettle8 [3.9.1-2+b1 (now, unstable)]
>
>      Install the following packages:
> 6)      libcurl3t64-gnutls [8.6.0-3.2 (unstable)]
> 7)      libdebuginfod1t64 [0.190-1.1+b1 (unstable)]
> 8)      libdw1t64 [0.190-1.1+b1 (unstable)]
> 9)      libelf1t64 [0.190-1.1+b1 (unstable)]
> 10)     libnettle8t64 [3.9.1-2.2 (unstable)]
> 11)     linux-kbuild-6.7.7 [6.7.7-1 (unstable)]
>
> Accept this solution? [Y/n/q/?]
>
> So, I have a cluster of broken packages that are keeping me from fixing up
> the situation through an update. From what you mention, maybe I have a
> broken installation, but I have never seen a Debian installation break like
> this through regular upgrades (I used to use Testing, but moved to Sid 3
> years ago).
>
>
>
> On Tue, Mar 12, 2024 at 6:31 PM Andreas Beckmann <anbe at debian.org> wrote:
>
>> That's the actual culprit:
>>
>> On 12/03/2024 13.33, JON Tauri wrote:
>> > # LD [M]  /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.o
>> >    ld -m elf_x86_64 -z noexecstack --no-warn-rwx-segments   -r -o
>> > /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.o
>> > @/var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.mod  ;
>> > ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr
>> --hacks=skylake
>> > --ibt --orc --retpoline --rethunk --sls --static-call --uaccess
>> --prefix=16
>> >   --link  --module
>> /var/lib/dkms/nvidia-current/525.147.05/build/nvidia-uvm.o
>> > ./tools/objtool/objtool: error while loading shared libraries:
>> libelf.so.1:
>> > cannot open shared object file: No such file or directory
>> > make[4]: ***
>> > [/usr/src/linux-headers-6.6.15-common/scripts/Makefile.build:443:
>> > /var/lib/dkms/nvidia-current/525.147.05/build/nvidia.o] Error 127
>> > make[4]: *** Deleting file
>> > '/var/lib/dkms/nvidia-current/525.147.05/build/nvidia.o'
>> > make[4]: *** Waiting for unfinished jobs....
>>
>> This is not a bug in nvidia-kernel-dkms.
>> I assume this is a temporary breakage due to the ongoing 64-bit time_t
>> transition which involves a huge amount of package renames.
>>
>> I cannot reproduce it in an up-to-date sid chroot with
>> linux-headers-6.6.15-amd64 installed (which has been superseded by 6.7.*
>> btw).
>>
>> Updating your system again should probably fix the issue.
>>
>> In case it persists: Which variant and version of the libelf.so.1
>> library do you have installed?
>>
>> dpkg -l libelf1 libelf1t64
>>
>>
>> Andreas
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20240312/9f2764b7/attachment-0001.htm>


More information about the pkg-nvidia-devel mailing list